Article View: net.micro.atari
Article #2306addendum to question about TDI Modula-2
From: Eric Terrell
Date: Tue, 28 Jan 1986 21:04
Date: Tue, 28 Jan 1986 21:04
32 lines
1268 bytes
1268 bytes
My ambition is to be able to read in a sequence of integers from a file.
I am able to open the file with:
OpenInputFile("pentde.txt");
The contents of pentde.txt is a group of integers, one per line:
5
6
7
5
4
3
2
3
4
5
6
7
When my program runs, every other read doesn't work, and every other read
....... I mean the first, third, fifth, etc reads work, and the
second, fourth, sixth reads don't word (read in a zero).
So what's wrong? If you know how to read in a sequence of integers
from a file, please let me know (sent me a working program).
Thanks in advance,
Eric Terrell CSNET address terrell@OHIO-STATE
Technical Details
Message-ID:
<8601291825.AA24001@ucbvax.berkeley.edu>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!ucbvax!info-atariShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!ucbvax!info-atari From: terrell@OHIO-STATE.CSNET (Eric Terrell) Newsgroups: net.micro.atari Subject: addendum to question about TDI Modula-2 Message-ID: <8601291825.AA24001@ucbvax.berkeley.edu> Date: Tue, 28-Jan-86 16:04:18 EST Article-I.D.: ucbvax.8601291825.AA24001 Posted: Tue Jan 28 16:04:18 1986 Date-Received: Sat, 1-Feb-86 02:33:51 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 32