else: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 24: Line 24:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= [[if]] (a>b) [[then]] <nowiki>{c=0}</nowiki> '''else''' <nowiki>{c=1}</nowiki> |=Example 1
|x1= <code>[[if]] (a>b) [[then]] <nowiki>{c=0}</nowiki> '''else''' <nowiki>{c=1}</nowiki></code> |=Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 12:40, 4 August 2006


Hover & click on the images for description

Description

Description:
Construct an array that can be processed by then.
Groups:
Uncategorised

Syntax

Syntax:
ifCode else elseCode
Parameters:
ifCode: Code
Return Value:
Array

Examples

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

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section