Sirs,
I am puzzled. I am using gpc on a unix system (Irix 6.5). When the
compiler was built, we had to turn off the -g flag everywhere in the Makefiles(which, we understand, is a common problem) in
order to complete the build. Below is a small program which simply writes out a real number using
'writeln'. It compiles fine, but generates garbage output:
program testprog(input,output);
var
x : real;
begin
x := 10.0;
writeln('The value of x is ',x);
end.
This code produces the following line of output on my machine(SGI):
The value of x is /// /////////e-//8//8
What's up with this????
Thanks for any help you can give.
Stuart Pope
*****************************************************************************
Stuart Pope Mail Stop 931
COMPUTER SCIENCES CORP. (757) 864-5775 (Voice)
GEOLAB/ISSD (757) 864-8910 (FAX)
Hampton, VA Email: d.s.pope@larc
Check out our webpage at http://geolab.larc.nasa.gov/
(No animals were harmed or killed in the generation of this mail message)
*****************************************************************************