Declare a Variable from a Variable?
kray at sonsothunder.com
Sun Jun 13 19:04:36 CDT 2004
> Can you declare a variable from a variable in Transcript?
> Like the following...
> put "randomVariableName" into newVariableToCreate
> create variable newVariableToCreate
Just curious... for what purpose? Unless you have explicitVariables turned
on, you don't need to predeclare your variables before you use them. That
said, if you *do* have explicitVariables turned on, you might be able to get
away with this:
put "randomVariableName" into newVariableToCreate
do "local" && newVariableToCreate
Although I haven't tried it...
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode