🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.atari
Article #2390

Re: File I/O in TDI Modula-2

#2390
From: Mark Roddy
Date: Mon, 03 Feb 1986 14:25
18 lines
1120 bytes
> 
> 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.
Technical Details
Message-ID: <224@dmcnh.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!ittatc!sii!dmcnh!mark
References: <8601291811.AA23787@ucbvax.berkeley.edu>

Show Full Headers
Complete Article Headers
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: arc1-ca.pugleaf.net!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