On 1/12/07, Mohamed A. Hammady <[EMAIL PROTECTED]> wrote:
Thx Ido... U r absolutly correct... But why delphi overcomed this "error"...
Add on the beginning of the unit:
{$ifdef fpc}
{$mode delphi}
{$endif}
And see if fpc compiles that first code.
The default mode for fpc is objfpc, which has more strict sintax then delphi.
--
Felipe Monteiro de Carvalho
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives