Anvil | Smiths Smiths | Register Register | Login Login |
Search:
Show links Show tools Show tree | Previous document Next document | njet.org > Anvil > Documentation > Language reference > Statements > Compound statements > Finally

Finally

Finally statement declares a "cleanup" handler, that gets always "finally" called, given that during the execution the control flows into area of influence of this finally statement. As with catch also finally can appear standalone, or as part of try statement. If standalone, area of influence begins from start of enclosing block and ends just before ``finally´´. Othwerwise that try statement declares the area of influence.

  finally := "finally" statement 
See also  | Statements  | Return  | Break  | Continue  | Exit  | Compound statements  | Do .. while  | Try  | While  | Grammar
Contributes notes:
Add a note
What's new | Anvil