Dec (MPI)
From Tapestries MUCK
(Difference between revisions)
(3 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | [[Category: | + | [[Category:functions (MPI)]][[Category:Math Functions (MPI)]] |
- | + | =dec= | |
<mpi>{dec:var} | <mpi>{dec:var} | ||
{dec:var,val}</mpi> | {dec:var,val}</mpi> |
Latest revision as of 01:37, 31 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.