🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #8468

re: I/O redirection in Turbo

#8468
From: David W. Barts
Date: Wed, 22 Oct 1986 20:29
22 lines
1276 bytes
I just received mail from puff!plocher (John Plocher) about it.
The only thing that needs to be done is insert the lines

(*$P500 *)
(*$G500 *)

at the start of your Turbo program and Turbo Pascal will
allocate 500 byte put and get buffers and use the DOS device
drivers.  I just tried it, and it works fine.  There is nothing
special about 500; the size can be anything you want.

To John:  Thanks!
To everyone else:  DON'T bother sending me any more hints.
Being able to use the standard Pascal I/O is MUCH preferable
than having to write my own procedures with intr( $21, ).
-- 

		--David Barts  N5JRN
		... {cmcl2,ihnp4}!lanl!unm-la!cs457ab
		... {ucbvax,gatech}!unmvax!unm-la!cs457ab
		unm-la!cs457ab@lanl.arpa
		University of New Mexico - Los Alamos
Technical Details
Message-ID: <448@unm-la.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!pyrnj!esquire!cmcl2!lanl!unm-la!cs457ab

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!pyrnj!esquire!cmcl2!lanl!unm-la!cs457ab
From: cs457ab@unm-la.UUCP (David W. Barts)
Newsgroups: net.micro.pc
Subject: re: I/O redirection in Turbo
Message-ID: <448@unm-la.UUCP>
Date: Wed, 22-Oct-86 16:29:30 EDT
Article-I.D.: unm-la.448
Posted: Wed Oct 22 16:29:30 1986
Date-Received: Fri, 24-Oct-86 00:25:34 EDT
Distribution: net
Organization: Univ. of New Mexico, Los Alamos
Lines: 22