else: Difference between revisions

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


back to [[Scripting_Reference#E|COMREF]]
back to [[Scripting_Reference#E|COMREF]]

Revision as of 17:24, 22 April 2006


back to COMREF

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}