if: Difference between revisions
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
Alternative syntax = '''?''' a ''':''' b | Alternative syntax = '''?''' a ''':''' b | ||
See also: [[else]] |
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
Alternative syntax = '''?''' a ''':''' b | Alternative syntax = '''?''' a ''':''' b | ||
See also: [[else]] |
Operand types:
condition: Boolean
Type of returned value:
Compatibility:
Added in version 1.85
Description:
First part of if command.
Example:
if (a>b) then {a=b}
Comments:
Standard syntax = if a then b
Alternative syntax = ? a : b
See also: else