Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>dbfdsksize()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DBFDSKSIZE()
 Determines the size of a selected (.dbf) file on a disk drive
------------------------------------------------------------------------------
 Syntax

     DBFDSKSIZE() --> nFileSize

 Returns

     DBFDSKSIZE() returns the size of the current database on the floppy or
     hard disk (i.e., how many bytes are saved in this file).

 Description

     One of the DBFDSKSIZE() function's most useful applications is when it
     is used in conjunction with DBFSIZE().  When the results for both
     functions indicate there is a deviation in the size of a database, this
     means a portion of the data is not yet written to the floppy/hard disk.
     You can also determine if and when new input is written to a floppy/hard
     disk.

 Note

     .  This function operates on the currently SELECTed work area.

 Example

     Determine if a portion of data input has been written out to disk yet:

     SIZEIF DBF() - DBFDSKSIZE() >= 512
        * COMMIT               //  Warning! Works only with DOS 3.3 and up
        USE File
     ENDIF


See Also: DBFSIZE()

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