Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Foxlib v1.0 - <b>driverdy</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DRIVERDY

Syntax:                 DRIVERDY

Use:                    To see if floppy disk drive A or B is ready.

Parameters:             Drive letter (A or B).

Returns:                The first character in the sending parameter will
                        have a "Y" if the floppy drive is ready, a "N" if
                        the floppy drive is not ready.  If you did not pass
                        the parameter correctly (e.g. FOXLIB = "/"), your
                        sending parameter will be unchanged.

Example:                . load c:\FOXLIB\driverdy
                        . FOXLIB = "B"
                        . call driverdy with FOXLIB
                        . ?substr(FOXLIB,1,1) = "Y"
                        .T.
                        . rele modu driverdy

                        From this example, drive B is ready for retrieval
                        or saving of data.

See Also: GETDRIVE SETDRIVE

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