catch

From Bohemia Interactive Community
Revision as of 22:44, 19 September 2019 by Lou Montana (talk | contribs) (Text replacement - "\[\[Category:ArmA: Control Structures\|[a-zA-Z0-9 _]*\]\]" to "")
Jump to navigation Jump to search
Introduced with Armed Assault version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Processes code when an exception is thrown in a try block. The exception caught can be found in the _exception variable.

Syntax

Syntax:
try-block catch code
Parameters:
try-Block: Exception Type
code: Code
Return Value:
Anything

Examples

Example:
Example needed

Additional Information

See also:
Exception handlingtrythrow

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section