Name

Finally Keyword

Syntax

try Statements... finally Statements... end;

Description

The finally keyword starts the finally part of a try-finally block. The statements in the finally block always run, no matter how control leaves the try block: exception, Exit or Break.

For more information and an example, see the try keyword.

See Also

Except Keyword, Raise Keyword, Try Keyword

Get Delphi in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.