Clears the whole screen to a specified character and attribute.
Note: This routine is supported for native COBOL only.
Syntax:
call "CBL_CLEAR_SCR" using character
attribute-buffer
returning status-code
Parameters:
|
Using call prototype (see
Key)
|
Picture
|
character
|
cblt-x1-compx
|
pic x.
|
attribute-buffer
|
cblt-x1-compx
|
pic x.
|
status-code
|
See
Library Routines - Key
|
|
On Entry:
character
|
The character to write.
|
attribute-buffer
|
The attribute(s) to write. Use the following table to set one or more attributes:
Windows platforms:
B"10000000"
|
BACKGROUND HIGHLIGHT
|
B"01000000"
|
BACKGROUND-COLOR (RED)
|
B"00100000"
|
BACKGROUND-COLOR (GREEN)
|
B"00010000"
|
BACKGROUND-COLOR (BLUE)
|
B"00001000"
|
FOREGROUND HIGHLIGHT
|
B"00000100"
|
FOREGROUND-COLOR (RED)
|
B"00000010"
|
FOREGROUND-COLOR (GREEN)
|
B"00000001"
|
FOREGROUND-COLOR (BLUE)
|
UNIX platforms:
B"10000000"
|
Reserved
|
B"01000000"
|
Reserved
|
B"00100000"
|
Reserved
|
B"00010000"
|
Reserved
|
B"00001000"
|
BLANK
|
B"00000100"
|
REVERSE-VIDEO
|
B"00000010"
|
UNDERLINE
|
B"00000001"
|
HIGHLIGHT
|
|