Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dffloppytype()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfFloppyType()
Determines the existence and the type of drive
------------------------------------------------------------------------------
Syntax:

     dfFloppyType(<cFloppy>) --> nFloppy

Parameters:

     <cFloppy>  Type of drive. Can be "A" or "B"

Returns:

     <nFloppy> Type of Drive
     +------------------------------------+
     |Value | Description                 |
     |------+-----------------------------|
     |  0   | No drive installed          |
     |  1   | Drive 5.25 Capacity 360 KB  |
     |  2   | Drive 5.25 Capacity 1.2 MB  |
     |  3   | Drive 3.5  Capacity 720 KB  |
     |  4   | Drive 3.5  Capacity 1.44 MB |
     |  5   | Drive 3.5  Capacity 2.88 MB |
     +------------------------------------+

Description:

     Permits to determine the type of drive and the capacity

Example:

     IF dfFloppyType( "A")  <4
        dbMsgErr( "This operation requires "+;
                  "a floppy disk drive "+;
                  "with at least 1.44 MB of capacity")
     ENDIF

See also:

     dfDisk()

See Also: dfDisk()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson