SYSprintErrorLst

Top  Previous  Next

Are economical to an announcement to an object.

The function spends an announcement either in the issue window or as a dialogue box which contains an error text beside the object data. With the help of this announcement the object can be found. Two description texts are used.

Parametre

obj (PANY) [IN]

Act of the object or element whose data should be indicated.

msgart (int) [IN]

Classification of the announcement as a warning, mistake... One of the constants MSG_ART_ *, especially MSG_ART_FEHLER, MSG_ART_WARNUNG, MSG_ART_HINT.

file (const char *) [IN]

The file in which this mistake was generated.

line (int) [IN]

Line in the file in which the mistake was generated.

errmsgCnt (int) [IN]

Number of the entries in the field errors

errors (const char **) [IN]

Description texts for the mistakes. A field with descriptions is given.

wrn (const char *) [IN]

Text for the announcement box, e.g., "warning" or "mistake"

Result

---

Remark

The parametres file and line must not contain real information to file and line. They are used to switch off if necessary successive announcements. It can be generated about these parametres also another grouping.

Declaration

#include "system.h"

 

void DLLENTRY SYSprintErrorLst (

PANY obj,

int msgart,

const char * file,

int line,

int errmsgCnt,

const char ** errors,

const char * wrn

);