Home
About
Policies
FAQ
Forums
Registration
Password Recovery

List (MPI)

From Tapestries MUCK

(Difference between revisions)
Jump to: navigation, search
(included mention that eval can be used to make a list evaluate MPI.)
m (pointed eval to eval (MPI))
 
Line 7: Line 7:
A property based list is a series of properties that are consecutively numbered.  The server understands several different formats, and can also read in property lists in either the propnameX format, or the propname#/X format.
A property based list is a series of properties that are consecutively numbered.  The server understands several different formats, and can also read in property lists in either the propnameX format, or the propname#/X format.
-
It does NOT evaluate the contents of the list for embedded [[MPI]] commands.  You can wrap it with an [[eval]] statement to make the muck evaluate [[MPI]] in the list.  For example:
+
It does NOT evaluate the contents of the list for embedded [[MPI]] commands.  You can wrap it with an [[eval (MPI)]] statement to make the muck evaluate [[MPI]] in the list.  For example:
<mpi>{eval:{list:listname}}</mpi>
<mpi>{eval:{list:listname}}</mpi>
If no obj argument is supplied, then it looks for the list somewhere down the environment from the trigger object.  Otherwise, it looks for the list down the environment from the given object.
If no obj argument is supplied, then it looks for the list somewhere down the environment from the trigger object.  Otherwise, it looks for the list down the environment from the given object.

Latest revision as of 15:54, 25 April 2007

list

{list:listname}
{list:listname,obj}

Returns a string, containing a carriage-return delimited list of individual lines from a property based list.

A property based list is a series of properties that are consecutively numbered. The server understands several different formats, and can also read in property lists in either the propnameX format, or the propname#/X format.

It does NOT evaluate the contents of the list for embedded MPI commands. You can wrap it with an eval (MPI) statement to make the muck evaluate MPI in the list. For example:

{eval:{list:listname}}

If no obj argument is supplied, then it looks for the list somewhere down the environment from the trigger object. Otherwise, it looks for the list down the environment from the given object.

Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox