else: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 9: Line 9:
'''Operand types:'''
'''Operand types:'''


'''ifCode:''' [[String]]
'''ifCode:''' [[Code]]
'''
 
elseCode:''' [[String]]
'''elseCode:''' [[Code]]


'''Type of returned value:'''
'''Type of returned value:'''
Line 23: Line 23:
'''Description:'''
'''Description:'''


Construct array that can be processed by '''then'''.
Construct an array that can be processed by [[then]].





Revision as of 22:45, 3 July 2006


ifcode else elsecode


Operand types:

ifCode: Code

elseCode: Code

Type of returned value:

Array

Compatibility:

Added in version 1.85

Description:

Construct an array that can be processed by then.


Example:

if (a>b) then {c=0} else {c=1}