try: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (+ category)
mNo edit summary
Line 31: Line 31:
[[Category:Scripting Commands|TRY]]
[[Category:Scripting Commands|TRY]]
[[Category:Scripting Commands ArmA|TRY]]
[[Category:Scripting Commands ArmA|TRY]]
[[Category:Armed Assault: Control Flows|TRY]]
[[Category:ArmA: Control Structures|TRY]]
[[Category:Command Group: Program Flow|TRY]]
[[Category:Command Group: Program Flow|TRY]]

Revision as of 15:16, 19 December 2006

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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 formtry //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:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
See also needed

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

Notes

Bottom Section