Quote:
Originally Posted by solarmon
However, then this means I cannot use this method to check if a non integer 'index' exists.
|
Yes, you can. Just be aware that the index is case sensitive.
instead of
test.blue = 1
use
x = "blue"; text.x = 1
You can even do
blue = "blue"; test.blue = 1
Or in your new example you could initialise the index like this:
Code:
test. = 0
do i=1 to colour.0
colour = colour.i
test.colour = 1
end