Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Or (MPI)

From Tapestries MUCK

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
-
[[Category: (MPI)functions]][[Category:Logical Functions (MPI)]]
+
[[Category:functions (MPI)]][[Category:Logical Functions (MPI)]]
=or=
=or=
<mpi>{or:expr1,expr2...}</mpi>
<mpi>{or:expr1,expr2...}</mpi>

Latest revision as of 01:47, 31 March 2007

or

{or:expr1,expr2...}

Returns true if expr1 or expr2 evaluate as true. Otherwise, this returns false.

If expr1 was true, this doesn't bother to exaluate expr2, as it does C-style shortcutting. If there are more than two arguments, then this will evaluate them until either one returns true, or until it has evaluated all the expressions.

This returns false only if all of the expressions return false.

Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox