Now I know why vendors of newer languages (Dephi, Java etc) are trying
to hide pointers from programmers. They are very tricky to work with -
and give errors without warning!
Especially when compiler and programmer are both trying to outsmart each other.
:D
Yes. But I never needed pointer arithmetic in my programs even when
using pointers heavily. I always use arrays (of pointers) or records
(with pointers) where the pointers point to well defined data types. I
an a bit astonished that pointer arithmetic is even possible in Pascal.
Yet another C-style crept in.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal