fpc-pascal  

Re: [fpc-pascal] Error: Illegal qualifier in converting Delphi unit

Marco van de Voort
Mon, 15 Mar 2010 02:07:27 -0700

In our previous episode, Howard Page-Clark said:
> >>   result := TranslationTable[Index]^.CharsetID
> >>
> >> Howard
> 
> No secret - just that fpc requires stricter syntax than Delphi, even in 
> {$mode Delphi}. The property TranslationTable is an array property 
> declared as a pointer (PTranslationTable), so has to be dereferenced 
> before its members can be accessed. It would have helped if the code's 
> author had named the property PTranslationTable to highlight that fact, 
> because the name hides its pointer character.

Is there a bugreport about this? If not, pleasae do. $mode delphi not
accepting this is not ok.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal