Re: compiler bug? Call of sqr in a expression as parameter
8 Sep
1997
8 Sep
'97
1:38 a.m.
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]
10568
Age (days ago)
10568
Last active (days ago)
0 comments
1 participants
participants (1)
-
Peter Gerwinski