Example of an issue event

Top  Previous 

All texts on an alpha terminal should be taken down. In addition the issues are intercepted. Alternatively the issue is also suppressed in the protocol window. Parametre is here the Filehandle of the aim file / COM-Schnittstelle.

Definition of the event routine

int DLLENTRY printIt (char *text, int *len, void *userdata) {

static char line [500], *lptr=line;

FILE *data=userdata;

fwrite (text, strlen (text), data);

return 2;//no issue on protocol window

//or

return 0;//Also issue on protocol window

}

 

Exclamation of the event routine

static FILE *hndl;

 

hndl=fopen ("COM1", "w");

 

if (hndl)

 

IOregisterEvent (EVENT_ART_PRINTF, printIt, hndl, TRUE);//Register

 

More:

buttonMacro

buttonPaper menu

buttonDetailed window

buttonCursorviewport

buttonBlock attribute

buttonSegment

buttonSheet type

buttonidentifies

buttonselects

buttonLine train

buttonDrawsegment

buttonUser's function

buttonMemory block