Repeat variable name changing

Jim Hamlyn jim at jimhamlyn.co.uk
Sat Mar 8 08:27:08 EST 2008


Hi Folks,

Sorry for the basic question ­ I just can¹t seem to find a solution in the
documentation. I¹m trying to change the name of a variable on the fly during
a repeat loop eg:

 repeat with tCount = 1 to the number of lines in fld "myField"
Here I¹d like myVariable1 to increment/iterate the last character (number)
of its name for each loop of the repeat

How is this done?

Many Thanks in advance

Jim Hamlyn



More information about the Use-livecode mailing list