else: Difference between revisions

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



Revision as of 21:03, 1 June 2006


ifcode else elsecode


Operand types:

ifCode: String elseCode: String

Type of returned value:

Array

Compatibility:

Added in version 1.85

Description:

Construct array that can be processed by then.


Example:

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