div: 10
if error? try [100 / div] [
print "math error"
halt
]
Related:
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.