Function DriveType() Foundation

Determines the type of a drive.

Syntax
DriveType( [<cDrive>] ;  // Default: CurDrive()
         ) --> nDriveType
Return

Possible return values correspond to #define constants found in XBTDISK.CH

Return values of DriveType()
Constant Description
RAMDISK RAM disk or no drive available
FLOPPY_ND Floppy (Change of diskettes not detectable)
FLOPPY Floppy (Change of diskettes detectable)
HARDDISK Harddisk
CDROM CD-ROM

Description

<cDrive> defaults to the current drive. It can be specified as a drive letter without a colon.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.