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 5.2 . Release Notes - <b>changed: database error handling</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CHANGED:  Database error handling
------------------------------------------------------------------------------

     In CA-Clipper 5.01, using database commands without an open work area
     would not cause an error.  With the following exceptions, CA-Clipper 5.2
     now produces a "Work area not in use" error.

     The following table shows state query functions that do not produce a
     "Work area not in use" error.  This list indicates the return value of
     these functions when executed without an open work area.

     Table:  State query functions and their return value
             with no open work area
     ------------------------------------------------------------------------
     Function     Return value
     ------------------------------------------------------------------------
     EOF()        -->  .T.
     BOF()        -->  .T.
     FOUND()      -->  .F.
     DELETED()    -->  .F.
     RECNO()      -->   0 (zero)
     LASTREC()    -->   0 (zero)
     FIELDNAME(1) -->  ""
     FCOUNT()     -->   0 (zero)
     INDEXORD()   -->   0 (zero)
     INDEXKEY()   -->  ""
     DBSTRUCT()   -->  {} (empty array)
     HEADER()     -->   0 (zero)
     RECSIZE()    -->   0 (zero)
     LUPDATE()    -->    /  /   (empty date)
     ------------------------------------------------------------------------


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