It supposed to be there already:
http://bugs.freepascal.org/view.php?id=21711
On 06/29/2013 03:01 PM, Mattias Gaertner wrote:
On Sat, 29 Jun 2013 14:46:26 +0200
Jürgen Hestermann <[email protected]> wrote:
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 ?
Yes, that would be a good place to add a note about try..finally.
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.
Michael Van Canneyt maintains these docs.
I will ask him.
Mattias
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus