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

Syntax:     DBFDSKSIZE()

Returns:    A numeric value.
            The number indicates the current size of the database on the
            hard disk or diskette, i.e., the number of bytes actually stored
            in this file.

Usage:      The most important application of DBFDSKSIZE() can be
            seen in connection with DBFSIZE().  A part of the data will
            not have been written to disk if the two functions return
            different results.  It is therefore possible to establish if, and
            when, new data is written to disk.

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

Library:    CT1.LIB


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

Examples:   IF DBFSIZE() - DBFDSKSIZE() >= 512
               * New data has been appended but not yet
               * written to disk.
               COMMIT
               USE file
            ENDIF



See Also: DBFSIZE()

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