On 22 Dec 2011, at 02:27, nore...@z505.com wrote:
Another thing freepascal allows is for OVERLOAD to be declared one
place
but not the other. Delphi is more strict in this regard.
That's fixed in svn trunk.
Also delphi is
more strict when it comes to PROGRAM name parsing. In freepascal the
program name can mismatch the file name, whereas delphi stops
compiling
and tells you error.
As Waldo Kitty mentioned, that's incorrect. And both FPC and Delphi
require that unit names match the file name (except in case the FPC
parameter -Un is used, and FPC also allows partial matches based on
the first 8 characters of the unit/file name to accomodate 8.3 file
systems).
Another thing I
noticed is you can just use a begin and end for freepascal without
PROGRAM
declaration at the top of the program.. again less strict than delphi.
Delphi also allows that. Even gpc allows it, although it prints a
warning.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal