Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>diskfree()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DISKFREE()

Syntax:     DISKFREE(<expC>)

Arguments:  <expC> denotes the drive (A,B,C etc.) on which to
            determine the free capacity.

Returns:    A numeric value.
            The value denotes the storage capacity still available for the
            selected drive.

Usage:      To establish whether the free storage capacity of a diskette
            is sufficient for a copy.

Notes:      The function will automatically use the currently selected
            drive if <expC> is not specified.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   required = DBFSIZE()                && Size of the
                                                && database.

            IF DISKFREE("A") < required
               ? "Free capacity too small for copy."
            ENDIF



See Also: DISKTOTAL()

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