[fpc-devel] Exceptions on wiki
J. Gareth Moreton
gareth at moreton-family.com
Wed Aug 1 23:04:24 CEST 2018
Infectious enthusiasm - I like that! I'm honoured.
It's a good start on the Wiki article. For more advanced things, you
might want to mention how you can use "raise" to re-raise an exception in
an except block, and the fact that SysUtils has code that wraps interrupts
like SIGSEGV and SIGFPE onto exception objects.
Gareth aka. Kit
On Wed 01/08/18 01:32 , Kirinn kirinn at mooncore.eu sent:
Hi all,
Inspired by Gareth aka. Kit's infectious enthusiasm, and the recent long
discussion on exceptions on this list, I wrote up an article on
Exceptions on the FPC wiki. (Strangely enough we didn't have one before.)
http://wiki.freepascal.org/Exceptions
[1]">http://wiki.freepascal.org/Exceptions
I hope it'll be useful, and not entirely inaccurate! Particularly the
part about performance. If a programmer knows exactly what each
exception statement inserts in the code, that should help in deciding
when to worry about the performance, and when to embrace the convenience.
~Kirinn
_______________________________________________
fpc-devel maillist - fpc-devel at lists.freepascal.org [2]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
[3]">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Links:
------
[1] http://wiki.freepascal.org/Exceptions
[2] mailto:fpc-devel at lists.freepascal.org
[3] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20180801/bc663282/attachment.html>
More information about the fpc-devel
mailing list