REBOL Document

Quit - Function Summary


Summary:

Stops evaluation and exits the interpreter.

Usage:

quit

Description:

Releases all resources back to the system. Shortcut: Q. Use EXIT to exit a function without returning a value.


    time: 10:00
    if time > 12:00 [
        print "time for lunch"
        quit
    ]

Related:

exit - Exits a function, returning no value.
halt - Stops evaluation and returns to the input prompt.


<Back | Index | Next>

Copyright 2004 REBOL Technologies