if: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(rm incorrect info)
mNo edit summary
Line 1: Line 1:
{{Command|= Comments
#REDIRECT [[Control Structures#if-Loop]]
____________________________________________________________________________________________
 
| ofpr |= Game name
 
|1.85|= Game version
____________________________________________________________________________________________
 
| First part of if command. |= Description
____________________________________________________________________________________________
 
| '''if''' condition |= Syntax
 
|p1= condition: [[Boolean]] |= Parameter 1
 
| [[If Type]] |= Return value
____________________________________________________________________________________________
 
|x1= <code>if (a>b) [[then]] {a<nowiki>=</nowiki>b}</code> |= Example 1
____________________________________________________________________________________________
 
| [[else]] |= See also
 
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
 
<dd class="notedate">Posted on August 4, 2006 - 10:55</dd>
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><dd class="note">''Notes from before the conversion:''
 
Standard syntax:
 
<nowiki>=</nowiki> if a [[then]] b
 
Alternative syntax
 
<nowiki>= ? a : b </nowiki>
</dd>
<!-- Note Section END -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>





Revision as of 19:58, 21 December 2006