🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #5793

Re: Device checking in Turbo

#5793
From: jrv
Date: Thu, 27 Feb 1986 13:56
18 lines
1288 bytes


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
Technical Details
Message-ID: <23900006@siemens.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!princeton!siemens!jrv
References: <198@dcc1.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: $Revision: 1.6.2.14 $; site siemens.UUCP
Path: arc1-ca.pugleaf.net!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