[fpc-devel] FPC docs Delphi mode

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jun 17 08:53:11 CEST 2009


On Wed, 17 Jun 2009 08:34:39 +0200
Graeme Geldenhuys <graemeg at opensoft.homeip.net> wrote:

> Mattias Gaertner wrote:
> > 
> > And I think it be noted that parameters and calling convention can
> > be omitted in delphi mode and must be copied in mode objfpc.
> 
> And the reason I much prefer the objfpc mode! delphi mode is just
> sloppy regarding syntax and some coding rules.  :-)

Of course the objfpc mode is better. Otherwise it would not exist.

The parameters are needed to identify overloaded procs.
Why is copying the calling convention needed? They are always redundant.
Some modifiers like 'virtual' are not copied.

Mattias



More information about the fpc-devel mailing list