throw: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (throw controls the flow)
Line 1: Line 1:
[[Category:Scripting Commands|THROW]]
[[Category:Scripting Commands|THROW]]
[[Category:Scripting Commands ArmA|THROW]]
[[Category:Scripting Commands ArmA|THROW]]
[[Category:Armed Assault: Control Flows|THROW]]





Revision as of 04:50, 23 July 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"