if
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