Dec (MPI)
From Tapestries MUCK
(Difference between revisions)
Line 1: | Line 1: | ||
[[Category:MPI functions]] | [[Category:MPI functions]] | ||
- | + | =dec= | |
<mpi>{dec:var} | <mpi>{dec:var} | ||
{dec:var,val}</mpi> | {dec:var,val}</mpi> |
Revision as of 08:03, 30 March 2007
dec
{dec:var} {dec:var,val}
Decrements the value of the given variable by one, returning the result.
If a value argument is given, then it will subtract that from the variable, instead of the value 1.