Quote:
Originally Posted by Stewy1
Hi guys,
This is probably a simple maths/math question - for the triggers for say, damaging a ship by percentage, what do == and ! mean? I have < and > sorted (the crocodile eats the bigger number - thanks primary school!)
Cheers
Stew
|
a == b means "is a equivalent to b?" (not to be confused with a signal = which signifies setting a variable's value or state)
5 == 5 returns true, 5 == 4 returns false
a ! b means "is a not b?" So, any two different values will return true, identical values will return false.
Hope that helps.
Save