Loading

DECREMENTEXACT


math
Since v1.2.23
Available on all platforms
See also

The DECREMENTEXACT function consumes one LONG from the top of the stack and puts back the value decremented by one. If the result overflows a LONG, this function fails.

Since 2.6.0, this function can be applied to a list of numeric values.

Signature

Examples

43 DECREMENTEXACT <% MAXLONG -1 * 1 - DECREMENTEXACT %> <% ERROR 0 GET 'message' GET %> <% %> TRY