Frisch aus der Hilfe D7 ...
| Zitat: |
| 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. |
Da steht nix anderes, daß inc(X) und X:=X+1 gleichwertig sind, ABER der Code von Inc optimiert wird.
Ich kann mir auch ehrlich nicht vorstellen, daß D7 eine Optimierung, die schon TurboPascal konnte, fallen gelassen hat.

Wer früher stirbt, ist länger tot.