REBOL Programming/quit

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

QUIT /return value 

DESCRIPTION:[edit]

Stops evaluation and exits the interpreter.

QUIT is a native value.

REFINEMENTS:[edit]

  • /return -- Returns a value (to OS command shell)
    • value -- (Type: integer)

SOURCE CODE[edit]

quit: native[
    "Stops evaluation and exits the interpreter." 
    /return "Returns a value (to OS command shell)" 
    value [integer!]
]