Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: $Revision: 1.6.2.14 $; site siemens.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!siemens!jrv From: jrv@siemens.UUCP Newsgroups: net.micro.pc Subject: Re: Device checking in Turbo Message-ID: <23900006@siemens.UUCP> Date: Thu, 27-Feb-86 08:56:00 EST Article-I.D.: siemens.23900006 Posted: Thu Feb 27 08:56:00 1986 Date-Received: Sat, 1-Mar-86 03:13:30 EST References: <198@dcc1.UUCP> Lines: 18 Nf-ID: #R:dcc1:-19800:siemens:23900006:000:679 Nf-From: siemens!jrv Feb 27 08:56:00 1986 The sample program assumes that you don't have some file called 'dummy.tst' floating around on any of the other disks in the system. Also, does the {$I-} option cause the critical error handler to be bypassed? If not you will probably get the MS-DOS error about disk drive not ready if you try to access a floppy disk which does not have a disk in it. Rather annoying! (I have never used Turbo-Pascal.) Finally, if Turbo-Pascal gives you access to MS-DOS functions then executing function 19h - Current Disk will return the current default disk. Unless I read the request wrong that should give you the information you need Jim Vallino {allegra,inhp4}!princeton!siemens!jrv