[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson