prior parameter's size depends on `Decinput'_(re)
Sun, 13 Jul 1997 02:45:04 +0200
Bill Currie wrote:
> I've managed to reproduce the error in a smaller file. If I comment
> out the parameters (or the body of the function) in the implementation
> section, the error disapears. In the real file, the ReadStr causes an
> abort when the implementation paramteters are commented out (interface
> decl same as always).
I cut down the program a bit more to the following:
unit foo;
interface
procedure x(y:string);
implementation
procedure x(y:string);
begin
read(y)
end;
end.
Oddly, the bug disappears when deleting "(y:string)" in the 2nd declaration.
BTW: Bill, the ReadStr is not completely the same as BP's Val. Especially,
the Err parameter is not handled like in BP, but read in as a second value.
--
Frank Heckenbach (fkhecken@cip.informatik.uni-erlangen.de)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es