- 4.62.2.40 -
Standard Units
![](images/1.gif)
System Unit
![](images/1.gif)
![](images/1.gif)
System Unit Procedures and FunctionsInc procedure
Targets: MS-DOS, OS/2, Win32
System Unit
Increments a variable.
Declaration:
procedure Inc(var X [ ; N: Longint] );
Remarks:
If N is not passed to Inc, X is incremented by one.
Otherwise, Inc(X) is identical to X := X + n or X +:= n.
Example:
Inc(Int,7); // Int := Int + 7
Inc(Long); // Long := Long + 1
![Previous: High function](images/prev.gif) |
![To the Table of Content](images/index.gif) |
![Next: Include procedure](images/next.gif) |
High function |
Table of Content |
Include procedure |
- 4.62.2.40 -