Repeat for each line?

Shao Sean shaosean at unitz.ca
Thu Apr 18 15:28:01 EDT 2002


>     repeat with x = 1 to the number of lines of field "articles"

i'd replace this line with

put the number of lines of field "articles" into vNumberOfLines
repeat with x = 1 to vNumberOfLines

this way the number of lines is only calculated once instead of through
every repeat..





More information about the use-livecode mailing list