Halt - Function Summary

Summary:

Stops evaluation and returns to the input prompt.

Usage:

halt

Description:

Useful for program debugging.

div: 10
if error? try [100 / div] [
    print "math error"
    halt
]

break - Breaks out of a loop, while, until, repeat, foreach, etc. catch - Catches a throw from a block and returns its value. exit - Exits a function, returning no value. quit - Stops evaluation and exits the interpreter.

results matching ""

    No results matching ""