Readind reals in Pascal and 4.2

Rich Jaenson rjj at cornell.UUCP
Tue Apr 10 06:58:08 AEST 1984


A simple Pascal program that reads 2 reals (from stdin)
gives the error message "stdin: bad data found on real read"
the first number reads ok but the second gives the error.
The same program works just fine with integers or chars. Any
insight would be very helpful.
		Rich Jaenson
		Cornell Univ Theory Center
		rjj at Cornell.UUCP



More information about the Comp.unix.wizards mailing list