Repeat syntax addition

Ralph DiMola rdimola at evergreeninfo.net
Sun Apr 5 15:03:50 EDT 2015


Wouldn't it be nice if you could:

Repeat for each line tLine in tLines index tIndex
End repeat

Where tIndex goes from 1 to (in this case) the number of lines in tLines.
With such an elegant repeat loop in LC it kills me to do a:


Local tIndex
put 1 into tIndex
Repeat for each line tLine in tLines 
Add 1 to tIndex
End repeat


Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net






More information about the use-livecode mailing list