Mattias Gaertner schrieb:
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

Know that - but why does it work in Delphi? Didn't find a notice about FPC processing "protected" in another way than Delphi does...

Lukas

--

----------------------------
software security networks
Lukas Gradl <lazarus#ssn.at>
Eduard-Bodem-Gasse 9
A - 6020 Innsbruck
Tel: +43-720-300168-0
Fax: +43-512-341033-19
----------------------------

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to