GNU Info

Info Node: (librep.info)Non-Local Exits

(librep.info)Non-Local Exits


Next: Continuations Prev: Looping Structures Up: Control Structures
Enter node , (file) or (file)node

Non-Local Exits
---------------

   A "non-local exit" is a transfer of control from the current point
of evaluation to a different point (somewhat similar to the
much-maligned `goto' statement in imperative languages).

   Non-local exits can either be used explicitly (`catch' and `throw')
or implicitly (errors).

Catch and Throw
Programmed non-local exits
Function Exits
Returning values from a function
Cleanup Forms
Forms which will always be evaluated
Errors
Signalling that an error occurred

automatically generated by info2www version 1.2.2.9