Loading

DECREMENTEXACT

math

The DECREMENTEXACT function consumes one NUMBER 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. In this case, the function is applied to each element of the list thus returning a list.

Since 2.7.1, this function can be also applied to a GTS. In this case, the function is applied to each value of the given GTS, returning a new GTS.

DECREMENTEXACT is available since version 1.2.23.

See also

Signatures

Examples

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