[Lazarus] try finally exit

Jürgen Hestermann juergen.hestermann at gmx.de
Sat Jun 29 14:46:26 CEST 2013


Am 2013-06-29 14:27, schrieb Mattias Gaertner:
 > The language syntax is not described in the wiki. It is available as pdf and html.

You mean this: http://www.freepascal.org/docs-html/rtl/system/exit.html ?
How does this answer the question of this thread?
It says:

Exit exits the current subroutine, and returns control to the calling routine. If invoked in the main program routine, exit stops the program.

Where does it tell that any finaly block will still be executed?
Just the opposite: It suggests that exit always exits immediately
without executing any other code of the routine.
This seems to be not true.





More information about the Lazarus mailing list