SYSprintf

Top  Previous  Next

Are economical of a text, if necessary in the dialogue window.

The function spends an announcement either in the issue window or as a dialogue box. For the dialogue box a title can be given. Also a help subject can be given. The text becomes like with printf ""parametres can be formatted by "C" and behind this text to the compensation be inserted.

Parametre

root (PROOT) [IN]

Act on the open data bank.

helpID (const char *) [IN]

Name of a help subject in the help file USER.HLP and/or ZERO if no help is available. If another help file must should be used than syntax "Datei|Thema" are put down.

art (long int) [IN]

If the kind of the announcement brags. A combination of the constants MSG_ART_* must be used. Base constants are

MSG_ART_HINT for assembly-line text editions.

MSG_ART_WARNUNG for warning announcements and

MSG_ART_FEHLER for error messages.

titel (const char *) [IN]

If a dialogue box should be indicated, this text is used as a title. If a zero pointer is used here, a standard title is used.

text (const char *) [IN]

One to the C library printf the identical string which is given in the command window. The length of the string is not limited.

... [IN]

There must follow a list of all parametres which ""are needed by the format string "text". The data types are directed after the format string.

Result

---

Declaration

#include "system.h"

 

void DLLENTRY SYSprintf (

PROOT root,

const char * helpID,

long int art,

const char * titel,

const char * text,

...

);