The greater than operator is a type of comparison operator which returns the boolean value <literal:true> if the first number object's value is bigger than the second's, else it returns <literal:false>.

Its token is named GREATER_THAN.

FDS Edit

Icon Info
See Also: Infix notation

<value:number><whitespace><comparator>[more/greater] than<whitespace><value:number>

Example Edit

If Spike's age is greater than 2 then: ...

This executes the next part of code only if the variable Spike's age is bigger than 2.

This is equivalent to the following Java code:

if(Spike_s_age>10) { ...

See Also Edit

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

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.