Variable Named Variable Values?

Rick Harrison harrison at all-auctions.com
Fri May 16 15:35:59 EDT 2014


Hi Dar, zryip, and Robert,

Thanks for the suggestions. I’ll give them a try!

Rick

On May 16, 2014, at 3:02 PM, Robert Brenstein <rjb at robelko.com> wrote:

> On 16.05.2014 at 14:32 Uhr -0400 Rick Harrison apparently wrote:
>> 
>> How do I now assign the values to the original Variable Name by referring to the correct variable name read in?
>> 
>> This is some kind of a double reference possibly referring to contents or the value of a variable, it may involve arrays etc.
>> 
>> Ideas? Suggestions?
>> 
> 
> If you actually want variable names, the "do" command is your friend.
> 
> do "put" && q(tVarValue) && "into" tVarName
> 
> However, such things are really easier to handle as arrays.
> 
> put tVarValue into gSessionGlobal[tVarName]
> 
> Robert
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list