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.3 . Technical Reference - <b>_errgettries()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _errGetTries()
 Get the value of the retry counter tries
------------------------------------------------------------------------------
 C Prototype

     #include "error.api"
     USHORT _errGetTries(
                          ERRORP pError
                        )

 Arguments

     pError is a pointer to the Error object from which the value is to
     be retrieved.

 Returns

     _errGetTries() returns the value of tries.

 Description

     _errGetTries() retrieves the value of the tries counter, indicating how
     many times the operation has been tried.  If the error can be rectified,
     tries is incremented each time the operation is retried.  See
     _errPutTries() for additional details about the tries counter.

 Examples

     .  This code fragment increments the retry counter tries:

        #include "error.api"
           .
           .
           .
           _errPutTries( pError, _errGetTries( pError )++ );
           .
           .
           .

 Files  Library is CLIPPER.LIB, header file is Error.api.


See Also: _errPutTries()

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