🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #5638

Device checking in Turbo

#5638
From: George C. Bingaman
Date: Tue, 25 Feb 1986 23:32
29 lines
1831 bytes
    Can anyone tell me how I can get version 2.0 of Turbo Pascal running under
MS/PC-DOS to check the status of a device?  I would like to verify that the
printer is online, and that the drive is ready before doing I/O.  I would also
like to have the program check to see what drive it is being run from.
    I have looked thru Borland's reference manual, but if the info is there I'm
missing it.  Any help would be greatly appreciated.

Thanks in advance,
    George


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 				  |	      / akgua  \
 George C. Bingaman		  |	     /  cbosgd  \
 DeKalb Community College	  |	...!/   hplabs   \!gatech!dcc1!bingaman
 2101 Womack Rd.		  |	    \   ihnp4    /
 Dunwoody (Atlanta) Ga. 30338	  |	     \  seismo  /
 				  |	      \ ulysses/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 				  |	      / akgua  \
 George C. Bingaman		  |	     /  cbosgd  \
 DeKalb Community College	  |	...!/   hplabs   \!gatech!dcc1!bingaman
 2101 Womack Rd.		  |	    \   ihnp4    /
 Dunwoody (Atlanta) Ga. 30338	  |	     \  seismo  /
 				  |	      \ ulysses/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <198@dcc1.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!gatech!dcc1!bingaman

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!gatech!dcc1!bingaman
From: bingaman@dcc1.UUCP (George C. Bingaman)
Newsgroups: net.micro.pc,net.lang.pascal,net.wanted.sources
Subject: Device checking in Turbo
Message-ID: <198@dcc1.UUCP>
Date: Tue, 25-Feb-86 18:32:24 EST
Article-I.D.: dcc1.198
Posted: Tue Feb 25 18:32:24 1986
Date-Received: Fri, 28-Feb-86 05:38:06 EST
Distribution: net
Organization: DeKalb Community College
Lines: 29