[Lazarus] How to access private field in FPC 2.7.1? ("class helper?")

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Fri Dec 23 20:09:46 CET 2011



On Fri, 23 Dec 2011, silvioprog wrote:

> Hi,
>
> I tried to access the FScanner field from the TJSONParser, but without
> sucess. x(

You can't. It is a private field, this is not supported.

I committed a patch, it is now a protected property, rev. 19885.

Michael.




More information about the Lazarus mailing list