Einen Kritikpunkt habe ich, dein Beispiel mit dec und inc ist schlecht, da diese Befehle wie die Casts, die Grundrechenarten und eigentlich alle reservierten Worte vom Präprocessor gestellt werden.
Leider ist hier die Delphi Hilfe fehlerhaft, die beschreibt, dass man Dec und Inc als Funktionen in der Unit System wiederfinden, in VC würde man sie besser und passenderweise als Macros bezeichnen.
Pascal und Objekt Pascal konnte bis einschließlich Delphi 3 nicht überladen, und INC sowie Dec standen seit den ersten Pascal Versionen zur Verfügung, also lange bevor Delphi, das Licht der Welt erblickte.
SMI
_________________
Wenn es im Jahre 1879 schon Computer gegeben hätte, würden diese vorausgesagt haben, daß man infolge der Zunahme von Pferdewagen im Jahre 1979 im Pferdemist ersticken würde.
(John C. Edwards, brit. Zukunftsforscher)