[fpc-pascal] How to solve "Conversion between ordinals and
pointers is not portable"
graeme at mastermaths.co.za
Tue Nov 17 10:31:15 CET 2009
Aleksa Todorovic wrote:
> Does that mean that (PByte(p) + N) = (Pointer(p) + N) for
> pointer-castable p and integer N?
I believe it does. I read in the ref.pdf document that when you
increment a generic Pointer type, it increments by 1 (equal to 1 byte).
- Graeme -
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
More information about the fpc-pascal