24.12.2013 Views

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

INCHRS [TTCALL 2,]<br />

22.63 INCHRS [TTCALL 2,]<br />

FUNCTION<br />

Reads an ASCII character from the job's controlling terminal's input<br />

buffer, skipping on return if a character was available. INCHRS also<br />

sets "character mode," in which the program will not wait for the end<br />

of the line of input from the terminal. Therefore, CTRL/U, DELETE,<br />

and other line-editing characters will not function as they do for the<br />

monitor. See Chapter 15 for more specific information.<br />

CALLING SEQUENCE<br />

INCHRS addr<br />

return 1<br />

return 2<br />

;no character in buffer<br />

;character read from buffer<br />

addr:<br />

BLOCK 1<br />

In the calling sequence, the program supplies the addr, which<br />

address of a word to contain the input character.<br />

is the<br />

RETURN<br />

If a character has been input, the monitor copies it, right-justified,<br />

into the word at addr. The remainder of the word is cleared.<br />

RELATED CALLS<br />

o<br />

o<br />

TRMOP.<br />

TTCALL<br />

COMMON PROGRAMMING ERRORS<br />

Typing a comma after addr.<br />

22-177

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!