[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function: DiskTotal()
DiskTotal reports the total disk space of a
specified drive, in bytes. This is the complementary
function of Clipper's DiskSpace() function.
Syntax: DiskTotal([<nDisk>]) --> nTotal
Arguments: <nDisk> is a number indicating a drive, 0 means
current drive, 1=A etc.. When Ommitted, DiskTotal
assumes current drive.
Returns: The Total DiskSpace in bytes, or -1 when specified
drive was invalid.
Usage: /* Check for drive usage.. */
if DiskSpace()/DiskTotal() < 0.05
MouseAlert('WARNING;Less that 5% of Disk Space Left!')
end
See Also:
GetDisk()
LastDisk()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson