compiler bug? Call of sqr in a expression as parameter_(re)
Mon, 8 Sep 1997 01:38:40 +0200 (MEST)
According to Sven Hilscher:
>
> Please check, if it is an error!
> [...]
> Test := TestNum(sqr(ReturnNum));
> {
> the GPC compiler meant:
> "argument to `sqr' must be of integer, real or complex type"
> }
It is an error, and the same problem holds for `abs', `round', and
other functions. Thanks for the report.
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