Semantics : Block

Block  ::=  { ( Statement )* ( catch : ( Statement )+ )? ( finally : ( Statement )+ )? }

Used by:  

A block is a series of statements quoted in { and } , and may have catch /finally clauses. If the finally clause is present, the code therein is always executed before control exists the block. If the catch clause is present, any exception will be caught (in the built-in variable $_ ) and control is transfered here. Can call ResumeStatement to resume program from where the exception was thrown.