Lingo Dictionary > L-N > next repeat

 

next repeat

Syntax

next repeat

Description

Keyword; sends Lingo to the next step in a repeat loop in a script. This function differs from that of the exit repeat keyword.

Example

This repeat loop displays only odd numbers in the Message window:

repeat with i = 1 to 10
	if (i mod 2) = 0 then next repeat
	put i
end repeat