[fpc-pascal] Illogical automatic dereferencing
Graeme Geldenhuys
graemeg.lists at gmail.com
Sun Oct 11 14:27:10 CEST 2009
On 11/10/2009, Henry Vermaak <henry.vermaak at gmail.com> wrote:
> >
> > Sizeof(X) is 10 bytes.
> > Sizeof(PX) is 4 bytes.
> >
> > Still you can use X[1] and PX[1]. That's illogical.
>
>
> I've tested this now and could only get this behaviour with {$mode delphi}.
So what did the other modes return? objfpc?
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-pascal
mailing list