XSLPgetmessagetype
| XSLPgetmessagetype | 
  Purpose
 
 Retrieve the message type corresponding to a message number
 
  Synopsis
 
int XPRS_CC XSLPgetmessagetype(int Code, int *Type);
 
  Arguments
 
| 
     Code 
     | 
     Integer holding the message number.
     | 
| 
     Type 
     | 
     Integer to receive the message type.
     | 
  Example
 
 The following example retrieves the last error message and finds its type.
 
int Code, Type;
XSLPgetlasterror(Prob, &Code, NULL);
XSLPgetmessagetype(Code, &Type);
printf("\nError %d is of type %d", Code, Type);
  Further information
 
The possible values returned in Type are:
 
| 0 | no such message number | 
|---|---|
| 1 | information | 
| 3 | warning | 
| 4 | error | 
  Related topics
 
 
