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>diskfree()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DISKFREE()
 Determines the space available on a floppy or hard disk
------------------------------------------------------------------------------
 Syntax

     DISKFREE([<cDrive>]) --> nFreeByte

 Argument

     <cDrive>  Designates for which drive (A, B, C, etc.) the open
     capacity is determined.  The default value is the current drive.

 Returns

     DISKFREE() returns the available memory capacity of the selected drive.

 Description

     DISKFREE() determines if a disk has sufficient storage capacity for a
     file.

 Note

     .  When <cDrive> is not specified, the function automatically
        uses the current drive.

 Example

     Determine if there is enough space to copy a database:

     Required  :=  DBFSIZE()         // Database size
     IF DISKFREE("A") < Required
        ? "Insufficient disk space for copying!"
     ENDIF


See Also: DISKTOTAL()

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