According to Fausto Iannuzzi:
I know gpc has both functions and operators overloading that are missing form extended pascal
It has operator overloading; function overloading is planned but not yet available.
because it does not support OOP and are also missing from borland pascal and delphi (2.0).
This has nothing to do with OOP.
From which standard they have been implemented?
From Pascal-SC (PXSC). See
http://ma70.rz.uni-karlsruhe.de/~ae25/iam/html/language/xsc-sprachen.html http://wwwma.rz.uni-karlsruhe.de/~ae08/iam/html/language/pxsc.html
Is there in gpc other OOP stuff that is not present in BP ?
You can mix methods and data fields:
Type MyObject = object a: Integer; Constructor Foo; b: Real; Destructor Bar; c: Char; Procedure Baz; d: ^String; end (* MyObject *);
I think a good documentation, explaining all gpc functioning, will be very useful to all pascal programmers that want to migrate to gpc.
I agree. Anybody interested to help writing such a thing?
Greetings,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201] maintainer GNU Pascal [970714] - http://home.pages.de/~gnu-pascal/ [970125]