else: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:
[[Category:Scripting Commands OFP 1.96|ELSE]]
[[Category:Scripting Commands OFP 1.96|ELSE]]
[[Category:Scripting Commands ArmA|ELSE]]
[[Category:Scripting Commands ArmA|ELSE]]
[[Category:Control Flows ArmA|ELSE]]





Revision as of 19:47, 21 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}