Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: 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 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