Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site qucis.UUCP Path: utzoo!utcsri!qucis!tb From: tb@qucis.UUCP (Tom Bradshaw) Newsgroups: net.bugs.4bsd Subject: looking for a fix in pi Message-ID: <116@qucis.UUCP> Date: Wed, 1-May-85 03:10:18 EDT Article-I.D.: qucis.116 Posted: Wed May 1 03:10:18 1985 Date-Received: Thu, 2-May-85 07:11:05 EDT Organization: Queen's University, Kingston, Ontario Lines: 44 Has anyone found a fix for the following bug in the pascal compiler? If someone has found a fix I would like to know. Thanks T. Bradshaw (utcsri!qucis!tb) Description: Pix blows up on the second real number read from stdin. More precisely, the first real read following the read of a real number entered with a decimal point will fail. Repeat-By: Script started on Fri Feb 3 18:36:32 1984 % cat test2.p program cnvx(input,output); var x:real; begin readln(x); writeln(x); readln(x); writeln(x); end. % pix test2.p Execution begins... 1.1 1.10000000000000e+00 1.2 standard input: Bad data found on real read Program error Do you wish to enter the debugger? n Error in "cnvx"+2 near line 7. Execution terminated abnormally. 3 statements executed in 0000.80 seconds cpu time. % script done on Fri Feb 3 18:37:43 1984 Fix: Unknown.