Hi,

I think you may want to use {$MODE Delphi} in the beginning of your
program. It activates delphi compatibility mode and ensures delphi
sintax compiles.

To keep compatible with Delphi I usually write:

unit myunit;

{$IFDEF FPC}
  {$MODE Delphi}
{$ENDIF}

.....

--
Felipe Monteiro de Carvalho

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

Reply via email to