Mklist (MPI)
From Tapestries MUCK
(Difference between revisions)
Line 1: | Line 1: | ||
- | [[Category: | + | [[Category:functions (MPI)]][[Category:List Handling Functions (MPI)]] |
=mklist= | =mklist= | ||
<mpi>{mklist:value...} Returns a list with all given values.</mpi> | <mpi>{mklist:value...} Returns a list with all given values.</mpi> |
Revision as of 01:40, 31 March 2007
mklist
{mklist:value...} Returns a list with all given values.
This returns a list with all the given values as list items, seperated by carriage returns. ('\r's) Example:
{mklist:Tom,Dick,Harry}
returns "Tom\rDick\rHarry".
Note: A maximum of nine items can be passed to the {mklist} function. If you need more, you can chain {mklist}s together.
Example:
{mklist:{mklist:a,b,c,d,e,f,g,h,i},j,k,l,m,n,o,p}