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()