Referencing a variable?
revdan at danshafer.com
Sun Nov 27 19:20:41 CST 2005
Not sure exactly what you're trying to do (or why) but check out the
value function in the docs.
For a simple example:
put 42 into x
put "x" into buffer1
produces 42 as a result.
Is that what you wanted to do?
On Nov 27, 2005, at 5:08 PM, Ian Leigh wrote:
> Hello all,
> 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.
> Does this make sense and can it be done? I thought simply :
> put 123 into "buffer"
> might work but it doesn't work that way. I have also tried various
> adds and used the value command too but I can't seem to figure it
> out. Any insight would be appreciated.
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
Dan Shafer, Information Product Consultant and Author
Get my book, "Revolution: Software at the Speed of Thought"
More information about the use-livecode