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.2 . Technical Reference - <b>_errgetseverity()</b> http://www.X-Hacker.org [<<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()

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