Rebol Programming/break
Jump to navigation
Jump to search
USAGE:[edit | edit source]
BREAK /return value
DESCRIPTION:[edit | edit source]
Breaks out of a loop, while, until, repeat, foreach, etc.
BREAK is a native value.
REFINEMENTS[edit | edit source]
- /return -- Forces the loop function to return a value.
- value -- (Type: any-type)
SOURCE CODE[edit | edit source]
break: native[ {Breaks out of a loop, while, until, repeat, foreach, etc.} /return "Forces the loop function to return a value." value [any-type!] ]