Index
Flow Control

break

break

Description

Immediately exits the body of a ‘while/repeat/endwhile’ block or a ‘do/loop’ block.

Examples

do(5 0)
    if (I mod(2) eq0) #divide inner loop with modulo 2 and test if zero
        break
    endif
    trace(I)
loop

Index