[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson