-
Declaration:
- Procedure Inc (Var X : Any ordinal type[; Increment : Any ordinal type]);
-
Description:
- Inc increases the value of X with Increment. If Increment isn’t specified, then 1 is taken
as a default.
-
Errors:
- If range checking is on, then A range check can occur, or an overflow error, when an attempt
is made to increase X over its maximum value.
-
See also:
- Dec (480)
Listing: refex/ex32.pp