Meta Project

The Unofficial Meta Documentation

CONTINUE

Summary

CONTINUE makes a loop skip the rest of the inner loop and continue the processing with the next iteration

Category

CONTROLS

Usage

CONTINUE

Arguments

N.A.

Refinements

This method has no refinements

Description

CONTINUE makes a loop skip the rest of the inner loop and continue the processing with the next iteration.

CONTINUE should be used very sparingly. It forces not normal behaviour in a loop and can be cause of memory leakage.

Example Code

for n 5 [
    if n < 3 [continue]
    write/line n
]

Related

BREAK  

Back to the Meta Methods Reference index