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


Syntax:     b_trashdbf(<expC>)

Purpose:    Test database integrity

Arguments:  <expC> is the full path and filename

Returns:    A Numeric Value

             0 database ok
            -1 ascii 0 - 31, ascii 127 - 255, or NULL found in database
            -2 unable to open database
            -3 incorrect parameter type used in function call
            -4 not an xBase file
            -5 record count does not match physical data size

Library:    MICROSYS.LIB

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

   if( b_trashdbf("s:\bhq\systest\dbf\hq_wel.dbf") != 0 )
       qout( "We've got a problem!!!" )
   endi

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