repeat with times

Ludovic THEBAULT ludovic.thebault at laposte.net
Tue May 21 14:57:58 EDT 2019



> Le 21 mai 2019 à 20:24, Andrew Bell via use-livecode <use-livecode at lists.runrev.com> a écrit :
> 
> I'm excited to try some of the new features of LC 9.5 but found a regression that has me dead in the water. Went to file a bug report, but 9.0.5 is the newest version listed. (I realize the team is busy in San Jose this week)
> 
> Now that I'm a slightly more seasoned coder I know there are more efficient ways to accomplish this, but my n00b syntax was very English-like for repeat loops like this...
> 
> put the number of lines of tSomeText into tThisMany
> repeat with x = 1 to tThisMany times
>   ## some code
> end repeat
> 

Try just 

> repeat with x = 1 to tThisMany 
>   ## some code
> end repeat




More information about the Use-livecode mailing list