Loading

INCREMENTEXACT

math

The INCREMENTEXACT function consumes one LONG from the top of the stack and puts back the value incremented 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.

INCREMENTEXACT is available since version 1.2.23.

See also

Signature

Examples

41 INCREMENTEXACT <% MAXLONG INCREMENTEXACT %> <% ERROR 0 GET 'message' GET %> <% %> TRY