assert

From Bohemia Interactive Community
Revision as of 15:26, 6 July 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)