Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>disktotal()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DISKTOTAL()
 Determines the total capacity of a floppy or hard disk
------------------------------------------------------------------------------
 Syntax

     DISKTOTAL([<cDrive>]) --> nTotalSpace

 Argument

     <cDrive>  Designates the drive for which memory capacity is
     determined.  The default is the current drive.

 Returns

     DISKTOTAL() returns a value that corresponds to the total capacity of
     the data carrier in the selected drive.  The default is the current disk
     drive.

 Description

     DISKTOTAL() determines if the capacity of the disk in use is sufficient
     for back up.  The advantage of DISKTOTAL() over any capacity determined
     by the system, is that it recognizes bad sectors and does not include
     them.

 Example

     Determine if disk capacity is sufficient:

     nRequired  :=  DBFSIZE()
     IF DISKTOTAL("A") < nRequired
        ? "Error! Insufficient disk capacity!"
     ENDIF


See Also: DISKFREE()

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