Re: Introspection?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Yanno, if type() could then know the name of the variable it was typechecking, and the name of the code block that called the typecheck, you could call code that executes if the typecheck fails, possibly fixing things up, and return something that makes less of a mess than an uncontrolled fatal error.

Or broadcast the variable has new contents. Or log time and what caused the data change. Or generate aux changes. So the Ai can know why it did that.

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu