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

Syntax:     DBFSIZE()

Returns:    A numeric value.
            The number denotes the size of the current database.

Usage:      To determine foe example, the amount of space occupied by
            a database before the file is copied onto a diskette.  Another
            important application is in conjunction with DBFDSKSIZE().

Notes:      The function always relates to the database in the current
            SELECT area.

Library:    CT1.LIB


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

Examples:   USE afile

            IF DISKFREE("A") < DBFSIZE()
               ? "The file cannot be copied."
               ? "Insufficient space on diskette."
            ELSE
               COPY TO A:bfile
            ENDIF



See Also: DBFDSKSIZE()

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