FiM++ Wiki

The not equal operator is a type of comparison operator which returns the Boolean value false if and only if the given objects are equal, else it returns true.

Its token is named NOT_EQUAL.


Icon Info.png
See Also: Infix notation


If Spike's age was not 10 then: ...

This executes the next part of code only if the variable Spike's age is different from 10.

This is equivalent to the following Java code:

if(Spike_s_age!=10) { ...

See Also[]

Icon Info.png
This article is a stub. You can help FiM++ Wiki by expanding it.