The inc procedure
The inc procedure increments the value stored in a
- The first parameter is a reference to the variable of
ordinal type whose value is to be incremented.
- The second parameter is an expression of
integral type, and is the value by which the
variable is to be incremented. If this parameter is not
supplied then the variable is incremented by one.
inc(x) decrements the variable "x" by 1
inc(x, 10) decrements the variable "x" by 10
Operating Systems: All
Standard Pascal: No