User Tools

Site Tools


4rpl:commands:break

This is an old revision of the document!


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

4rpl/commands/break.1640287540.txt.gz · Last modified: 2025/02/14 14:56 (external edit)