Writes a specified character and attribute to a string of positions on the screen.
call "CBL_WRITE_SCR_N_CHATTR" using screen-position character attribute-buffer fill-length returning status-code
01 cblt-screen-position typedef. 03 cblte-scrp-row cblt-x1-compx. *> pic x comp-x. 03 cblte-scrp-col cblt-x1-compx. *> pic x comp-x.
screen-position | The screen position at which to start writing. The top left corner is row 0, column 0. See Screen Routines | ||||||||||||||||
character | The character to write. | ||||||||||||||||
attribute-buffer | The attribute(s) to write. Use the following table to set one or more attributes:
|
||||||||||||||||
fill-length | The number of screen positions to write the character-attribute pair to. If this would go off the end of the screen, the write finishes at the end of the screen. |
None
Comments:
The blink attribute is not supported on this COBOL system. Specifying that a character is to blink results in the character being displayed with a bright background color.