Variables
Norman Winn
norman at mrsystems.co.uk
Sun Apr 11 19:39:40 EDT 2004
Hi,
I am having trouble with stuff
If I say:
put button ID 1004 into gVar
it appears to be accepted.
So why can't I use the variable in the same way I use the button?
Why do I want to do this? I am hoping to have a two-dimensional array
of buttons so that, instead of referring to each button by name, I can
refer to it using an array reference.
Instead of saying: set the backgroundColor of button "B2" to "green"
I want to say something like: set the backgroundColor of gArray[3][7]
to "green"
Please put me out of my misery,
Norman
More information about the use-livecode
mailing list