Explicit Variables

Kay C Lan lan.kc.macmail at gmail.com
Thu Jan 28 21:45:51 EST 2016


Not a discussion about the pros and cons, or a discussion on arrays, I just
need a simple answer.

put "apple,orange,banana" into tFruit
repeat with x = 1 to the number of items in tFruit
  do "put item x of tFruit into tVar" & x --create a dynamic variable name
end repeat
put tVar2

I assume creating dynamic variable names will not work with
explicitVariables set in the IDE but it will actually work in a standalone.

Not work / work
or
Not work / not work

Is all I need to know.



More information about the Use-livecode mailing list