Thread View: net.micro.pc
1 messages
1 total messages
Started by David W. Barts
Wed, 22 Oct 1986 20:29
re: I/O redirection in Turbo
Author: David W. Barts
Date: Wed, 22 Oct 1986 20:29
Date: Wed, 22 Oct 1986 20:29
22 lines
1276 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads