Whats wrong?!?_(re)
Tue, 17 Jun 1997 02:11:17 +0200 (MET DST)
According to Frank Heckenbach:
>
> Ooops, can't gpc write PChars at all? The following doesn't work:
>
> program x;
> {$x+}
> var a:PChar;
> begin
> writeln(a)
> end.
Fixed.
> Similarly, the following compiles with BP, but not with gpc:
>
> program x;
> {$x+}
> var a:PChar;
> begin
> a:='Test' {in BP: assign the address of the 0-terminated string 'Test'#0
> (stored somewhere statically) to a}
> end.
Fixed.
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 [970510] - 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