How can we dynamically create variable names from changing value "x" on a loop?

dunbarx dunbarx at
Sun Nov 6 15:08:51 EST 2016


Arrays are so new_fashioned.

But do you mean something like this, from the stone age, that creates
variables on the fly, in this case with 2X the value of an index?

on mouseUp
   repeat with y = 1 to 10
      do "put y * 2 into onTheFlyVar" & y
   end repeat
end mouseUp


View this message in context:
Sent from the Revolution - User mailing list archive at

More information about the Use-livecode mailing list