a != b: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
'''Operand types:''' | '''Operand types:''' | ||
'''a:''' [[ | '''a:''' [[Number]], [[Side]], [[String]], [[Object]] or [[Group]] | ||
'''b:''' [[ | '''b:''' [[Number]], [[Side]], [[String]], [[Object]] or [[Group]] | ||
'''Type of returned value:''' | '''Type of returned value:''' | ||
Line 19: | Line 19: | ||
''' | '''Examples:''' | ||
counter '''!=''' 4 | |||
[[side]] [[player]] '''!=''' [[west]] | |||
nameofplayer '''!=''' "John Doe" | |||
[[vehicle]] [[player]] '''!=''' [[player]] | |||
[[group]] [[player]] '''!=''' [[group]] soldierOne | |||
? (([[fuel]] truck1) '''!=''' 1) : [[hint]] "Truck1 has less than a full tank of fuel." | ? (([[fuel]] truck1) '''!=''' 1) : [[hint]] "Truck1 has less than a full tank of fuel." |
Revision as of 13:57, 19 April 2006
back to COMREF
a != b
Operand types:
a: Number, Side, String, Object or Group
b: Number, Side, String, Object or Group
Type of returned value:
Description:
a not equal to b
Examples:
counter != 4
nameofplayer != "John Doe"
group player != group soldierOne
? ((fuel truck1) != 1) : hint "Truck1 has less than a full tank of fuel."