Wikia

FiM++ Community Wiki

Changes: Equal

Edit

Back to page

(FDS)
(FDS: specifying type)
 
Line 6: Line 6:
 
{{See Also/small|Infix notation}}
 
{{See Also/small|Infix notation}}
   
{{codeblock|{{tag|value}}{{tag|whitespace}}{{tag|comparator}}{{tag|whitespace}}{{tag|value}}}}
+
{{codeblock|{{tag|value}}{{tag|whitespace}}{{tag|comparator|equal}}{{tag|whitespace}}{{tag|value}}}}
   
 
=== Example ===
 
=== Example ===

Latest revision as of 23:47, March 20, 2015

The equal operator is a type of comparison operator which returns the Boolean value true if the number objects in input are equal, else it returns false.

Its token is named EQUAL.

FDS Edit

Icon Info
See Also: Infix notation

Example Edit

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

This executes the next part of code if the variable Spike's age is equal to 10.

This is equivalent to the following Java code:

if(SpikesAge == 10) { ...

See Also Edit


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

Around Wikia's network

Random Wiki