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

Syntax:                 GETDRIVE

Use:                    To determine the current drive.

Parameters:             GETDRIVE

Returns:                The first character in the sending parameter will
                        have the current drive letter (A, B, C, etc.).  If
                        you did not pass the parameter correctly (e.g.
                        FOXLIB = "ZETDRIVE"), your sending parameter will
                        be unchanged.

Example:                . load c:\FOXLIB\getdrive
                        . FOXLIB = "GETDRIVE"
                        . call getdrive with FOXLIB
                        . ?substr(FOXLIB,1,1)
                        C
                        . rele modu getdrive

                        From this example, the current drive is C.

See Also: SETDRIVE

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