if

From Bohemia Interactive Community
Revision as of 18:10, 22 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


back to COMREF

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