USAGE: edit

BREAK /return value 

DESCRIPTION: edit

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

BREAK is a native value.

REFINEMENTS edit

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

SOURCE CODE edit

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