if

From Bohemia Interactive Community
Revision as of 20:01, 1 June 2006 by Raedor (talk | contribs) ((sorry, but I'm too lazy to click minor edit all evertime...))
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