🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.pascal
Article #75

Readind reals in Pascal and 4.2

#75
From: Rich Jaenson
Date: Mon, 09 Apr 1984 20:58
8 lines
857 bytes
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@Cornell.UUCP
Technical Details
Message-ID: <7383@cornell.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!floyd!vax135!cornell!rjj

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site cornell.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!floyd!vax135!cornell!rjj
From: rjj@cornell.UUCP (Rich Jaenson)
Newsgroups: net.lang.pascal,net.unix-wizards
Subject: Readind reals in Pascal and 4.2
Message-ID: <7383@cornell.UUCP>
Date: Mon, 9-Apr-84 15:58:08 EST
Article-I.D.: cornell.7383
Posted: Mon Apr  9 15:58:08 1984
Date-Received: Wed, 11-Apr-84 06:58:53 EST
Organization: Cornell Univ. CS Dept.
Lines: 9