else: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|E]]
[[Category:Scripting Commands ArmA|E]]


back to [[Scripting_Reference#E|COMREF]]


<h2 style="color:#000066">''ifcode '''''else ''elsecode'''''</h2>
<h2 style="color:#000066">'''''ifcode'' else ''elsecode'''''</h2>





Revision as of 11:57, 23 April 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}