Looking at the code below...

{$if defined(ver2_0)}
 {$note This is not delphi compatible. }
{$endif}


Is this a feature or a FPC bug?  FPC allows the $IF to be closed with
the $ENDIF as well as the $IFEND.  This is not Delphi compatible.

The closing tag for $IF is $IFEND
The closing tag for $IFDEF is $ENDIF

Regards,
 - Graeme -



--
There's no place like 127.0.0.1
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to