On Fri, 28 Dec 2007 21:38:47 +0100 Lukas Gradl <[EMAIL PROTECTED]> wrote:
> Sorry, might need a little bit more sleep - but at the moment I'm > stuck: > > I've to convert some files from Delphi to FPC (2.3.1, using Lazarus > 0.9.25 only as an editor) > > In Delphi there is a a class TExample defined in file1.pas. > TExample=class > protected > FValue:longint; > end; > > in file2.pas I did: > > use file1; > {...} > Example:=TExample.Create; > if Example.FValue=0 then begin... > {...} > > When compiling with FPC and $MODE DELPHI I get an "Identifier not > found" error. > > Any idea what a tired guy might have missed? FValue is protected from you. Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives