suve

awful: function: exit

declaration

NIL :exit

summary

Immediately abort script execution. Note that the interpreter will not halt, but will perform a cleanup and shut down gracefully.

example

# Somewhere inside a loop
!if :gt (:fileticks) i60000
    :writeln s'Maximum running time of 60 seconds exceeded.'
    :exit
    !fi

wikipage modified on 2014/0601/2317