else: Difference between revisions

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





Revision as of 12:37, 4 May 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}