Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!ucbvax!pax7300.att.com!pax From: pax@pax7300.att.com Newsgroups: comp.lang.icon Subject: MSDOS V8 reads Message-ID: <9011100110.AA00524@megaron.cs.arizona.edu> Date: 10 Nov 90 01:10:49 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 26 Icon Trekkies! Is it possible that Version 8 of Icon on MS-DOS will not read past an octal 32 with reads??? procedure main() fd := open("TESTOFF.DBF","ru") | stop("DBF open failed") while line := reads(fd,32) do { write("*line=",*line) } end TESTOFF.DBF happens to have an octal 032 in position 49 of the file. The above program on MS-DOS returns: *line=32 *line-16 The above program on my UNIX-pc reads continuous 32 byte lines until it reaches the real end-of-file. It appears to me that Version 8 of Icon for MS-DOS will not read past this CTL-Z (octal 032) character. Joe Hall