REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 6-Feb-2009 Edit History  

REBOL 3 Concepts: Expressions: Stopping Evaluation

Pending Revision

This document was written for R2 and has yet to be revised for R3.

Evaluation of a script can be stopped at any time by pressing the escape key (ESC) on the keyboard or by using the halt and quit functions.

The halt function stops evaluation and returns you to the REBOL console prompt:

if time > 12:00 [halt]

The quit function stops evaluation and exits the REBOL interpreter:

if error? try [print test] [quit]


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin