try: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
Line 38: | Line 38: | ||
[[Category:Command Group: Program Flow|TRY]] | [[Category:Command Group: Program Flow|TRY]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 12:01, 25 March 2013
Description
- Description:
- Defines a try-catch structure. This sets up an exception handling block. Any thrown exception in a try block is caught in a catch block. The structured exception block has following form: try //begin of try-catch block { //block, that can throw exception } catch { //block, that process an exception. Exception is described in _exception variable };
- Groups:
- Uncategorised
Syntax
- Syntax:
- try code
- Parameters:
- code: Code
- Return Value:
- Exception Type
Examples
- Examples:
- Example needed
Additional Information
- See also:
- Exception handling
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note