throw: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|THROW]]
[[Category:Scripting Commands|THROW]]
[[Category:Scripting Commands ArmA|THROW]]
[[Category:Scripting Commands ArmA|THROW]]





Revision as of 20:24, 29 June 2006


throw expression


Operand types:

expression: Anything

Type of returned value:

Nothing

Compatibility:

Version 2.60 required.

Description:

Throws an exception. The exception is processed by first catch block. See Try.


Example:

throw "invalid argument"