It is possible to nest Try...Except blocks with Try...Finally blocks. Program ow will be
done according to a lifo (last in, rst out) principle: The code of the last encountered
Try...Except or Try...Finally block will be executed rst. If the exception is not caught, or it
was a nally statement, program ow will be transferred to the last-but-one block, ad
in nitum.
If an exception occurs, and there is no exception handler present, then a runerror 217 will be
generated. When using the sysutils unit, a default handler is installed which will show the exception
object message, and the address where the exception occurred, after which the program will exit
with a Halt instruction.