Home page  
Help >
CalcObject Statement: Inc
Version 7.11
CalcObject Statement: Inc CalcObject Statement: Inc
    Syntax: INC %Var
    Placement: Within any processing section.
    Description: Adds one to the specified global variable %Var.
       If %Var is a numeric variable, its value is incremented
       arithmetically by 1.0.
       If %Var is a string variable and if the low order part
       of %Var is numeric, the numeric string is incremented 
       string-wise by one. If there is a carry out of the high
       order digit that is preceeded by a space, the carry goes
       into the space. Otherwise, a carry out of the high order
       digit causes the numeric part of the string to increase
       by one to make room for the carry.

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.