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>disktotal()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DISKTOTAL()

Syntax:     DISKTOTAL(<expC>)

Arguments:  <expC> denotes the drive on which to determine the storage
            capacity.

Returns:    A numeric value.
            The total capacity of the specified drive.

Usage:      With DISKTOTAL() it is possible to determine whether the
            capacity of the diskette used is sufficient for a back-up.  The
            advantage, compared to working out the used capacity
            arithmetically as the program runs, is that any faulty sectors
            will be detected by DISKTOTAL() and not included in the
            count.

Notes:      The function defaults to the current drive selected if the
            <expC> is not passed.

Library:    CT1.LIB


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

Examples:   required = DBFSIZE()
            IF DISKTOTAL("A") < required
               ? "Error! Capacity of diskette is insufficient."
            ENDIF



See Also: DISKFREE()

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