if

From Bohemia Interactive Community
Revision as of 21:28, 1 May 2006 by Thobson (talk | contribs)
Jump to navigation Jump to search


if condition


Operand types:

condition: Boolean

Type of returned value:

If Type

Compatibility:

Added in version 1.85

Description:

First part of if command.


Example:

if (a>b) then {a=b}


Comments:

Standard syntax = if a then b

Alternative syntax = ? a : b

See also: else