General

Create new expressions within script

Started by tmjorud on .

Sign in or create an account to join the conversation.

9 posts

Topic starter
Hi,

Is it possible to create new expressions within a script? I think I read something about this topic somewhere else, that there was some kind of undocumented method available for creating new objects on the fly? Is this still available?
Hi
Yes you can create new expression with the decl keyword , however they are restricted in there lexical and temporal scope to the script itself, and its operations . .
You cannot create external expressions as such; there was a function (createobject()) that allowed creation of objects programatically but it is currently deprecated, (though it may be reinstated at some point when fixed)

Hope that helps