if: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (moved notes)
m (added see also)
Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[else]] |= See also


}}
}}
Line 28: Line 28:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


Standard syntax = if a [[then]] b Alternative syntax = ? a : b See also: [[else]]
Standard syntax = if a [[then]] b Alternative syntax = ? a : b  
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 16:16, 2 August 2006

Hover & click on the images for description

Description

Description:
First part of if command.
Groups:
Uncategorised

Syntax

Syntax:
if condition
Parameters:
condition: Boolean
Return Value:
If Type

Examples

Example 1:
if (a>b) [[then]] {a=b}

Additional Information

See also:
else

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

Standard syntax = if a then b Alternative syntax = ? a : b

Bottom Section