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>nodrives</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
NODRIVES

Syntax:                 NODRIVES

Use:                    To determine the number of installed disk drives.

Parameters:             NODRIVES

Returns:                The first character in the sending parameter will
                        have the number of disk drives installed.  If you
                        did not pass the parameter correctly (e.g. FOXLIB
                        = "ZODRIVES"), your sending parameter will be
                        unchanged.

Example:                . load c:\FOXLIB\nodrives
                        . FOXLIB = "NODRIVES"
                        . call nodrives with FOXLIB
                        . ?asc(substr(FOXLIB,1,1))
                        26
                        . rele modu nodrives

                        From this example, there are 26 installed disk
                        drives.  These disk drives could be two floppy
                        drives A and B; a hard disk partitioned into
                        three drives C, D, and E; and ram disks (F through
                        Z).

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