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