Home
About
Policies
FAQ
Forums
Registration
Password Recovery

And (MPI)

From Tapestries MUCK

Revision as of 21:57, 24 April 2007 by Kles (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

and

{and:expr1,expr2...}

Returns true if expr1 and expr2 evaluate as true. Otherwise, this returns false. If expr1 was false, this doesn't bother to evaluate expr2, as it does C-style shortcutting.

If there are more than two arguments, then this will evaluate all of them until either one returns false, in which case this function returns false, or until it has evaluated all of the arguments.

This function returns true only if all the arguments evaluate as true.

Functional example:

{if:
{and:{eq:{sex:me},female},{eq:{species:me},dragon}}
,you can warm this nest
,only a dragoness can warm this nest}
Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox