Quote Originally Posted by Useless Hacker
I had thought that Inc(pInt, 3) would increase the pointer by 3 bytes, and that Dec(pInt, 4) would decrease it by 4 bytes...
but then again...
Quote Originally Posted by (The person who wrote) the Delphi Help
procedure Inc(var X [ ; N: Longint ] );

Description

In Delphi code, Inc adds one or N to the variable X.

X is a variable of an ordinal type (including Int64), or a pointer type if the extended syntax is enabled.

N is an integer-type expression.

X increments by 1, or by N if N is specified; that is, Inc(X) corresponds to the statement X := X + 1, and Inc(X, N) corresponds to the statement X := X + N. However, Inc generates optimized code and is especially useful in tight loops.

Note: If X is a pointer type, it increments X by N times the size of the type pointed to.