xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

FloppyType()

Determines the type of a floppy drive.

Syntax

FloppyType( [<cDrive>] ) --> nFloppyType

Arguments

<cDrive>
This parameter specifies the floppy drive to query. It can be either an upper case A or B, indicating the drive letter. The default value is A.

Return

The function returns a numeric value indicating the floppy drive type. The following values are possible:

Return values of FloppyType()
ValueDescription
0Drive is not a floppy drive
1Drive is a 360 KB floppy
2Drive is a 720 KB floppy
3Drive is a 1.2 MB floppy
4Drive is a 1.44 MB floppy

Info

See also:DriveType()
Category: CT:DiskUtil , Disks and Drives
Source:ct\diskutil.prg
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe