throw: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
m (VBS2 scripting category removal)
Line 37: Line 37:
[[Category:Command Group: Program Flow|THROW]]
[[Category:Command Group: Program Flow|THROW]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Revision as of 05:20, 19 July 2011

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

Description

Description:
Throws an exception. The exception is processed by first catch block.
Groups:
Uncategorised

Syntax

Syntax:
throw expression
Parameters:
expression: Anything
Return Value:
Nothing

Examples

Example 1:
throw "invalid argument"

Additional Information

See also:
tryException 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

Notes

Bottom Section