User Tools

Site Tools


prpl:break

<- PRPL reference <- Program Flow Control

break

ArgumentsResultNotation
[ - ]

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 
prpl/break.txt · Last modified: 2017/09/24 06:27 by kajacx