Referencing a variable?
ambassador at fourthworld.com
Sun Nov 27 19:49:14 CST 2005
Ian Leigh wrote:
> I would like to do the following:
> Put a variable name into another buffer variable.
> Reference the actual variable but using the buffer variable.
> So I only have the name of the variable in the buffer but I want to
> put a value into the actual variable only by using the variable
> name which is stored in the buffer.
Turning the problem inside out, could it be stated that the goal is to
be able to refer to a variable without knowing the variable's name in
If so, you might consider using array notation:
put "MyName" into x
put "123" into tBuffer[x]
Managing Editor, revJournal
Rev tips, tutorials and more: http://www.revJournal.com
More information about the use-livecode