UNSW   Faculty of Engineering myCSE PRINT VERSION SITE MAP  
cse | School of Computer Science and Engineering (CRICOS Provider No. 00098G)
    #About CSE     #Undergraduate Study     #Postgraduate Study     #Timetables & Courses     #Research & Publications     #People & Work Units     #Help & Resources     #News & Events     #High School Portal

Last updated 28.09.06

PREV UP next GNU Emacs Lisp Reference Manual

9.5: Nonlocal Exits

A nonlocal exit is a transfer of control from one point in a program to another remote point. Nonlocal exits can occur in Emacs Lisp as a result of errors; you can also use them under explicit control. Nonlocal exits unbind all variable bindings made by the constructs being exited.

  • Catch and Throw Nonlocal exits for the program's own purposes.
  • Examples of Catch Showing how such nonlocal exits can be written.
  • Errors How errors are signaled and handled.
  • Cleanups Arranging to run a cleanup form if an error happens.
Top Of Page

 ###
Site maintained by webmistress@cse.unsw.edu.au
Please read the UNSW Copyright & Disclaimer Statement