REBOL Programming/break

      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 -- (Type: any-type)

      SOURCE CODE

      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}}
      
      Last modified on 27 October 2012, at 22:16