Wikia

FiM++ Community Wiki

And

Revision as of 16:47, November 15, 2012 by UNiTY (wall | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
58pages on
this wiki
Comments0

The and operator is a boolean operator which returns <literal:true> only if all arguments are true, else returns <literal:false>.

Its token is named AND.

FDS

Icon Info
See Also: Infix notation

<value:boolean><whitespace>and<whitespace><value:number>

Example

I did this as long as Applejack is 99 and Spike is 12: ...

This executes the next part of code if the variable Applejack is equal to 99 and the variable Spike is equal to 12.

This is equivalent to the following Java code:

while(Applejack==99&Spike==12) { ...

See Also

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

Around Wikia's network

Random Wiki