Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site dmcnh.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!ittatc!sii!dmcnh!mark From: mark@dmcnh.UUCP (Mark Roddy) Newsgroups: net.micro.atari Subject: Re: File I/O in TDI Modula-2 Message-ID: <224@dmcnh.UUCP> Date: Mon, 3-Feb-86 09:25:10 EST Article-I.D.: dmcnh.224 Posted: Mon Feb 3 09:25:10 1986 Date-Received: Fri, 7-Feb-86 10:10:14 EST References: <8601291811.AA23787@ucbvax.berkeley.edu> Organization: Datamedia Corp, Nashua, NH Lines: 18 > > How does one open a disk file for reading with TDI Modula-2? > > I have tried to get OpenInputFile in the InOut module with > unsuccessful results. > I've used streams with no problem: OpenStream(handle,"foobar.doc",READ,reply); However, the same thing done with the printer acts weirdly: OpenStream(handle,"PRN:",READWRITE,reply); (* reply is -3 - "unknown command" *) Having posted a glowing review of TDI Modula-2, I am now starting to find a few bugs. When I have a complete list, I will post a follow-up.