Error getting tags :
error 404Error getting tags :
error 404 finally | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
finally
Basics
Expander triangle
Type
Keyword
Syntax
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Used within a try control structure to contain statements that are executed whether or not there was an error.
Examples

finally

Additional Comments
Expander triangle

Use the finally keyword to designate one or more statements that are to be executed within a try control structure.

Comments:

The finally keyword appears on a line by itself, and is followed by a list of statements. The statements in the finally section are executed whether or not there was an error while executing the try control structure.

The finally section is always executed even if the try control structure contains an exit or pass statement, so it can be used for final cleanup actions such as deleting variables.

The finally section is optional in a try control structure.

User Comments
Expander triangle