#include "cobscreen.h" void cobaddch (cobchtype ch);
ch | The required character and any attributes. |
None. However, this routine is similar to the COBOL syntax:
call "CBL_WRITE_SCR_CHATTRS" using ...
To display the character "X" in reverse-video, use:
cobaddch('X' | A_REVERSE)
Comments:
The specified character and attribute ch are displayed on the screen at the current position of the virtual cursor.
A character of \n (new line) is a valid character, and moves the virtual cursor to the beginning of the next line. No other control characters are valid; their use causes undefined results.