[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function: GetDisk()
Returns the Current DOS disk drive. The drive is
returned as a numeric code. Beware that this
function returns 0 for A:, other functions like
diskSpace use 0 for current drive (There is in the
case of this function not such a thing as a 'Current'
Drive, that's why).
Syntax: GetDisk() --> nCurrent
Arguments: None.
Returns: The Current disk drive Number, 0=A etc..
Usage: ? 'Current disk Drive...: '+Chr(65+Curdisk())+':'
See Also:
SetDisk()
LastDisk()
GetDir()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson