Last modified on 27 October 2012, at 22:16

REBOL Programming/break

USAGE:Edit

BREAK /return value 

DESCRIPTION:Edit

Breaks out of a loop, while, until, repeat, foreach, etc.

BREAK is a native value.

REFINEMENTSEdit

  • /return -- Forces the loop function to return a value.
    • value -- (Type: any-type)

SOURCE CODEEdit

break: native[
    {Breaks out of a loop, while, until, repeat, foreach, etc.} 
    /return "Forces the loop function to return a value." 
    value [any-type!]
]

{{BookCat}}