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

silvioprog silvioprog at gmail.com
Fri Dec 23 20:12:48 CET 2011


2011/12/23  <michael.vancanneyt at wisa.be>:
> 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.

Wow, I'll update my FPC copy now! :)

Thank you, guys!

-- 
Silvio Clécio
====================================
Site - <silvioprog.com.br>
LazSolutions - <code.google.com/p/lazsolutions>
====================================




More information about the Lazarus mailing list