Command: break

Syntax

break

Description

Jump out of the current command block.

Parameters

None

Switches

None

Notes

If the current command block is part of a while, until, do, for, loop, gloop or identloop outer block, the jump is made out of the block.

This command will also terminate polling if used at the same command level as the poll command.

Example

for x=1,names.alength {
    delete ^(names[x])
    if (err) break; # Skip to after the }
}

See Also

Commands:

do, for, gloop, identloop, loop, poll, until, while