try

From Bohemia Interactive Community
Revision as of 19:39, 28 June 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



try code


Operand types:

code: Code

Type of returned value:

Nothing

Compatibility:

Version 2.60 required.

Description:

Defines try-catch structure. This is structured exception block. Any thrown exception in try block is caught in catch block. The structured exception block has following formtry //begin of try-catch block { //block, that can throw exception } catch{ //block, that process an exception. Exception is described in _exception variable };

Example: