assert

From Bohemia Interactive Community
Revision as of 16:51, 6 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


assert condition


Operand types:

condition: Boolean

Type of returned value:

Boolean

Compatibility:

Version 2.00 required.

Description:

Tests a condition and if the condition is false, halts the program.


Example:

assert (_x>0)