if: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (moved notes)
Line 28: Line 28:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


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


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
Old Notes (temporary):


Standard syntax = if a [[then]] b Alternative syntax = ? a : b See also: [[else]]
 
[[Category:Scripting Commands|IF]]
[[Category:Scripting Commands|IF]]
[[Category:Scripting Commands OFP 1.96|IF]]
[[Category:Scripting Commands OFP 1.96|IF]]
[[Category:Scripting Commands ArmA|IF]]
[[Category:Scripting Commands ArmA|IF]]
[[Category:Armed Assault: Control Flows|IF]]
[[Category:Armed Assault: Control Flows|IF]]

Revision as of 17:15, 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:
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

Standard syntax = if a then b Alternative syntax = ? a : b See also: else

Bottom Section