Referring to a variable in a roundabout way...
Mark Swindell
mdswindell at cruzio.com
Mon Feb 13 00:32:26 EST 2006
If a field contains the name of a variable gMyNumber, how can I place
something into that variable circuitously, referencing it not
directly, but via its name residing in the field?
Example:
Put 54 into (variable (word 1 of field 1)), where word 1 of field 1
contains the name of a global variable gMyNumber.
I don't know if that makes sense, but I hope it does.
Thanks,
Mark
More information about the use-livecode
mailing list