[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _errGetSeverity()
 Get the value of severity
------------------------------------------------------------------------------
 C Prototype

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

 Arguments

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

 Returns

     _errGetSeverity() returns a flag indicating the severity of the error.

 Description

     _errGetSeverity() gets the value of severity in the Error object.  You
     may use the severity level to generate warnings as well as errors.

     Note:  Manifest constants that you may use to set the severity are
     available in the Error.ch file and are shown in the _errPutSeverity()
     function reference.

 Examples

     .  This code fragment retrieves the contents of severity:

        #include "error.api"
           .
           .
           .
           USHORT uiSeverity;
           uiSeverity = _errGetSeverity( pError );
           .
           .
           .

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


See Also: _errPutSeverity()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson