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 fill-length returning status-code
Using call prototype (see Library Routines - Key) | Picture (32-bit systems) | ||||
---|---|---|---|---|---|
screen-position | Group predefined as cblt-screen-position containing: | Group containing: | |||
cblte-scrp-row | cblt-x1-compx | pic x comp-x. | |||
cblte-scrp-col | cblt-x1-compx | pic x comp-x. | |||
character | cblt-x1-compx | pic x. | |||
attribute | cblt-x1-compx | pic x. | |||
fill-length | cblt-x2-compx | pic x(2) comp-x. | |||
status-code | See Library Routines - Key |
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 | The attribute to write. |
string-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
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.