Home
About
Policies
FAQ
Forums
Registration
Password Recovery

While (MPI)

From Tapestries MUCK

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
[[Category:MPI functions]]
+
[[Category:MPI functions]][[Category:MPI Looping Functions]]
=while=
=while=
<mpi>{while:check,expr}</mpi>
<mpi>{while:check,expr}</mpi>

Revision as of 00:39, 31 March 2007

while

{while:check,expr}

This is a looping structure.

It evaluates the 'check' argument, and if it evaluates true, then it evaluates the expr argument, and repeats the process.

If 'check' evaluates false, then the loop is exited. This returns the result of the last evaluation of expr.

Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox