5 Sep
1999
5 Sep
'99
7:22 a.m.
"GPC on Ken Linder's Linux Box" wrote:
Howdy all... Found an oddity with the DIV operation. The following line correctly produces a compile error (as it should):
aninteger := 12.1 div 5.5;
However, the following compiles & runs, behaving like a REAL division operation:
writeln( 12.1 div 5.5 );
Very strange indeed!
Thanks for the report (kevin14.pas). Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
9840
Age (days ago)
9840
Last active (days ago)
0 comments
1 participants
participants (1)
-
Frank Heckenbach