[fpc-pascal] Interface syntax: Is possible don't use specialize in mode objfpc?

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Thu Jul 16 18:01:07 CEST 2015


On 2015-07-16 16:53, Marcos Douglas wrote:
> I would like to know why exists this difference, what the advantages
> for mode objfpc using this syntax.

Michael already answered that.

"It is meant to help you, to make explicit you are in fact specializing
a new type."

The objfpc mode is normally more strict than the delphi mode, and the
objfpc is more true to the Object Pascal language - keeping the code
more Pascal-like. Delphi (EMBT) is hodge podge of other languages with
no regard for Pascal-like syntax.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/



More information about the fpc-pascal mailing list