AFAIK Inc() and Dec() are built in functions that where, at the time of Turbo Pascal, a faster way to inc/dec...

AFAIK Inc() and Dec() are built in functions that where, at the time of Turbo Pascal, a faster way to inc/dec ordinals. Now the compiler is smart enough to optimise things anyway.

would it be nice to allow them now to Inc/Dec properties ?
Inc(Button1.Tag) will be a shortcut for Button1.Tag := Button1.Tag + 1

Comments