else: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo 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]]
[[Category:Armed Assault: Control Flows|ELSE]]





Revision as of 08:08, 22 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}