else: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Fixed parametr 2)
Line 19: Line 19:
|p1= ifCode: [[Code]] |=Parameter 1
|p1= ifCode: [[Code]] |=Parameter 1


|P2= elseCode: [[Code]]|=Parameter 2
|p2= elseCode: [[Code]]|=Parameter 2


| [[Array]] |= Return value
| [[Array]] |= Return value

Revision as of 20:35, 24 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
elseCode: 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