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>_errgetoperation()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _errGetOperation()
 Get the value of operation
------------------------------------------------------------------------------
 C Prototype

     #include "error.api"
     BYTEP _errGetOperation(
                             ERRORP pError
                           )

 Arguments

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

 Returns

     _errGetOperation() returns a pointer to the string containing the
     operation.

 Description

     _errGetOperation() retrieves a pointer to the string indicating the
     operation at the time the error occurred.  This is used to identify the
     CA-Clipper-level operation that failed, which might be an operator symbol
     (like "+" or "&") or a function name (like "STR()" or "TYPE()").

     Note:  The operation value that you, as a subsystem developer, use
     will normally be the name of your CA-Clipper-callable function.

 Examples

     .  This code fragment retrieves a pointer to the string
        operation:

        #include "error.api"
           .
           .
           .
           BYTEP fpOperation;
           fpOperation = _errGetOperation( pError );
           .
           .
           .

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


See Also: _errPutOperation()

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