continueLoop

Help Contents Loops continueLoop
break Variable Definition

continueLoop


command which continues the currently executing loop at the beginning of the loop body while incrementing the repcount.

Examples:

repeat 10 [pr #  if #==5 [continueLoop] pr "so]
while [# < 10][pr #  if #==5 [continueLoop] pr "so]
until [# >= 10][pr #  if #==5 [continueLoop] pr "so]
do_while [pr #  if #==5 [continueLoop] pr "so][# < 10]
do_until [pr #  if #==5 [continueLoop] pr "so][# >= 10]
for [i 1 10][pr i  if i==5 [continueLoop] pr "so]
for [i 1.1 10.1][pr i  if i==5.1 [continueLoop] pr "so]
foreach [1 2 3 4 5 6 7 8 9 10][pr #  if #==5 [continueLoop] pr "so]

Reference:

break Variable Definition