IOgetNewText

Top  Previous  Next

Input from window system get.

IOgetText fetches the next input at the window system, even if still inputs are in a Batchfile. If still inputs are in the queue, these are not considered. A new line is got instead of this and copied after text. Besides, the part of the line which does not fit if necessary any more in text is cut off and not delivered. The surviving part is thrown away and not delivered by the following calls.

Parametre

char * text OUT

In this buffer area the input line <>is copied without final <CR>. If the buffer is too small to take up the whole line, the rest is cut off. The buffer is always limited by an ASCII zero sign.

int maxlen IN

In maxlen the length of the buffer area is informed. This information is calculated on final zero sign. If the buffer is according to this information too small for the input line, this is shortened.

Result

---

Declaration

#include "ausgabe.h“

 

void DLLENTRY IOgetNewText (

char *text,

int len

);