if

From Bohemia Interactive Community
Revision as of 15:39, 15 January 2007 by Hoz (talk | contribs) (added see also)
Jump to navigation Jump to search

{{Command|= Comments ____________________________________________________________________________________________

| 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= if (a>b) then {a=b} |= Example 1 ____________________________________________________________________________________________

| [[else], Control Structures] |= See also

}}

Notes

Posted on August 4, 2006 - 10:55
hardrock
Notes from before the conversion: Standard syntax: = if a then b Alternative syntax = ? a : b

Bottom Section