Wikia

FiM++ Community Wiki

Changes: Equal

Edit

Back to page

(fixed incorrections)
(FDS)
Line 6: Line 6:
 
{{See Also/small|Infix notation}}
 
{{See Also/small|Infix notation}}
   
{{codeblock|{{tag|value|number}}{{tag|whitespace}}[[Comparison Operators|{{tag|comparator}}]]{{tag|whitespace}}{{tag|value|number}}}}
+
{{codeblock|{{tag|value}}{{tag|whitespace}}{{tag|comparator}}{{tag|whitespace}}{{tag|value}}}}
   
 
=== Example ===
 
=== Example ===

Revision as of 20:31, November 20, 2012

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

Icon Info
See Also: Infix notation

Example

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


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

Around Wikia's network

Random Wiki