gpc objects_(re)
Sun, 31 Aug 1997 16:16:45 +0200 (MEST)
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]
Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es