else: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (merged to the if statement)
Line 13: Line 13:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Construct an array that can be processed by [[then]]. |= Description
| '''else''' is not a stand-alone command. It can only be used as part of the '''[[if]]''' statement. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| ifCode '''else''' elseCode |= Syntax
|p1= ifCode: [[Code]] |=Parameter 1
|p2= elseCode: [[Code]]|=Parameter 2
| [[Array]] |= Return value
____________________________________________________________________________________________
|x1= <code>[[if]] (a>b) [[then]] <nowiki>{c=0}</nowiki> '''else''' <nowiki>{c=1}</nowiki></code> |=Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Control Structures]] |= See also
| [[Control Structures]], [[if]], [[then]] |= See also


}}
}}

Revision as of 06:15, 5 September 2007



Hover & click on the images for description

Description

Description:
else is not a stand-alone command. It can only be used as part of the if statement.
Groups:
Uncategorised

Syntax

Syntax:
Control Structures, if, then
Return Value:
Return value needed

Examples

Examples:
Example needed

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