Article View: net.micro.pc
Article #8481Re: I/O redirection in Turbo Pascal
From: T Anderson
Date: Thu, 23 Oct 1986 22:23
Date: Thu, 23 Oct 1986 22:23
12 lines
1100 bytes
1100 bytes
Starting with Turbo 3.0 there is a compiler directive that makes Turbo
use MS DOS I/O and then redirection works fine. I don't have my manual
with me so I do not remember the exact stuff, but its something like
(*$P512 $G256*) where the numbers are the sizes of the buffers you
want to use. $P is for output (put or something) and $G for input
(get). It does make all I/O somewhat slower as the overhead for an
MS DOS call is more than Turbo's direct I/O.
-- Terry L Anderson
AT&T Bell Laboratories
Liberty Corner, NJ
{ihnp4}!daimler!kaiser!tla
Technical Details
Message-ID:
<409@kaiser.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!clyde!cuae2!ihnp4!kaiser!tlaReferences:
<447@unm-la.UUCP>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!rutgers!clyde!cuae2!ihnp4!kaiser!tla From: tla@kaiser.UUCP (T Anderson) Newsgroups: net.micro.pc Subject: Re: I/O redirection in Turbo Pascal Message-ID: <409@kaiser.UUCP> Date: Thu, 23-Oct-86 18:23:07 EDT Article-I.D.: kaiser.409 Posted: Thu Oct 23 18:23:07 1986 Date-Received: Fri, 24-Oct-86 16:21:59 EDT References: <447@unm-la.UUCP> Distribution: net Organization: AT&T Bell Laboratories, Liberty Corner Lines: 12