Article View: comp.lang.modula2
Article #3750Proposed I/O Standard
From: fred sullivan
Date: Wed, 19 Aug 1987 18:01
Date: Wed, 19 Aug 1987 18:01
19 lines
1537 bytes
1537 bytes
Thanks to R. Henry for keeping us up to date on the proposed standard. A question about implementation: I am trying to figure out how to implement procedures which don't consume input, but may have to read far ahead, when the input is for example a terminal or a pipeline. Good examples of what I mean are Int.CanRead and Int.Value. Suppose the input is from a terminal, and the person sitting at the terminal types an endless stream of spaces. Should CanRead return FALSE after filling a buffer? Should Value halt with an error after filling a buffer? I can't think of anything else which would be reasonable, and I'm wondering what the proposers have in mind here. Fred Sullivan Department of Mathematical Sciences State University of New York at Binghamton Binghamton, New York 13903 Email: sullivan@marge.math.binghamton.edu
Technical Details
Message-ID:
<648@bingvaxu.cc.binghamton.edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!gatech!hao!boulder!sunybcs!bingvaxu!marge.math.binghamton.edu!sullivanShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!gatech!hao!boulder!sunybcs!bingvaxu!marge.math.binghamton.edu!sullivan From: sullivan@marge.math.binghamton.edu (fred sullivan) Newsgroups: comp.lang.modula2 Subject: Proposed I/O Standard Message-ID: <648@bingvaxu.cc.binghamton.edu> Date: Wed, 19-Aug-87 14:01:58 EDT Article-I.D.: bingvaxu.648 Posted: Wed Aug 19 14:01:58 1987 Date-Received: Sat, 22-Aug-87 02:00:34 EDT Sender: news@bingvaxu.cc.binghamton.edu Reply-To: sullivan@marge.math.binghamton.edu (fred sullivan) Distribution: world Organization: Department of Mathematical Sciences, SUNY-Binghamton Lines: 19