[fpc-pascal] strange "with" usage
Vincent Snijders
vsnijders at quicknet.nl
Fri Jun 8 10:19:17 CEST 2007
dhkblaszyk at zeelandnet.nl schreef:
> In a delphi app I came across the following syntax;
>
> with PropInfo^, PropType^^ do
>
> Which results in a "Error: Illegal qualifier". Has anyone an idea of what
> is meant here and how to port that to FPC? I'm puzzled.
You have to check the definition carefully. IIRC fpc has one indirection less,
(giving not exact names, but just to describe the situation): PropType is a a
pointer to TPropType in fpc and a pointer to pointer to TPropType in Delphi.
Vincent
More information about the fpc-pascal
mailing list