Repeat for each line?

Jeanne A. E. DeVoto jeanne at runrev.com
Thu Apr 18 16:09:00 EDT 2002


At 1:20 PM -0700 4/18/2002, Shao Sean wrote:
>>     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..

It's only calculated once regardless.

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/





More information about the use-livecode mailing list