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


Syntax:        L_DBFSIZE()


Purpose:       Calculates the size of the Clipper database in the
               current work area.


Arguments:     None



Returns:       Returns the size of the database in bytes if ok or
               error number if error.


Usage:         Use this function to determine if a database will fit
               onto a floppy for backup purposes.


Examples:      SELECT 1
               USE sales
               SELECT 2
               USE clients

               SELECT 1
               ? L_DBFSIZE()                    && Result 220000
               SELECT 2
               ? L_DBFSIZE()                    && Result 400000


Language:      Clipper

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