Break

angerangel edited this page Jan 2, 2013 · 1 revision
Clone this wiki locally

Table of Contents

USAGE

  BREAK /return value

DESCRIPTION

Breaks out of a loop, while, until, repeat, foreach, etc. BREAK is a native value.

REFINEMENTS

  • /return -- Forces the loop function to return a value
    • value (any-type!)

SOURCE

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