SH**! (Sorry) - Procedural Types_(re)
Wed, 09 Jul 1997 02:02:57 +0800
>
>Okay, I succeeded to reproduce the bug under plain DOS. It does not show up
>in an OS/2 DOS box nor in the Linux DOSemu.
>
>I am after it. Please relax. (-:
YAY!! I just realised what is (probably) causing the problem. GPC supports
two versions of procedural types - Borland and GPC. Unfortunately, GPC does
not know which version it is compiling. For example:
Var
Proc = ^Procedure;
[...Code...]
Begin
Proc = @SomeProcedure;
[...More Code...]
Proc^; Sometimes GPC, for some reason, parses this as a BP
End; procedural type, so the ^ is not supposed to be there.
It would compile OK if the ^ were removed! HOWEVER, the
next time GPC might decide to parse it as a GPC version,
so the ^ must be present.
And that is all that there is to it! Simple! :-) Now, fixing it is a
different story...
Cya L8r
________________________
| _) | | e-mail: bernie@icenet.com.au
|___)ernhard |_|schirren ptschirrenb@cc.curtin.edu.au
www: www.geocities.com/CollegePark/Quad/8070/
Bernhard Tschirren (bernie@icenet.com.au)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es