throw

From Bohemia Interactive Community
Revision as of 05:50, 23 July 2006 by Zyklone (talk | contribs) (throw controls the flow)
Jump to navigation Jump to search


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"