Inc and Dec
From Free Pascal wiki
Revision as of 15:16, 26 May 2018 by Kai Burghardt (talk | contribs) (Kai Burghardt moved page Inc to Inc and Dec: merge: deduplicate page contents)
│
English (en) │
Inc
Inc (increment) procedure in Pascal programming let you easily add 1 (or some other value) from, a variable.
For example, using Inc (increment) procedure, you can increase 1 to a variable named a like this:
inc( a );
If you want to add by two (or some other value):
inc( a, 2 );
Inc procedure included System Unit.