throw: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (+ See also)
m (+ category)
Line 33: Line 33:
[[Category:Scripting Commands ArmA|THROW]]
[[Category:Scripting Commands ArmA|THROW]]
[[Category:Armed Assault: Control Flows|THROW]]
[[Category:Armed Assault: Control Flows|THROW]]
[[Category:Command Group: Program Flow|THROW]]

Revision as of 12:03, 20 October 2006

-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
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