Declare a Variable from a Variable?
Ken Ray
kray at sonsothunder.com
Sun Jun 13 20:04:36 EDT 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...
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode
mailing list