CBL_SCR_SET_ATTRIBUTES

Defines the character attribute, and foreground and background colormap indexes associated with each of one or more COBOL attribute values (attribute table indexes).

Syntax:
call "CBL_SCR_SET_ATTRIBUTES" using      table-count
                                         attribute-index
                                         attribute-value
                               returning status-code
Parameters:
Using call prototype (see Library Routines - Key) Picture (32-bit systems)
table-count cblt-x2-compx pic x(2) comp-x.
attribute-index cblt-x1-compx occurs n times. pic x comp-x occurs n times.
attribute-value Group predefined as cblt-generic-attr-value containing: Group item, occurs n times, containing:
  cblte-gav-foregrnd-index   cblt-x4-compx   pic x(4) comp-x.
  cblte-gav-backgrnd-index   cblt-x4-compx   pic x(4) comp-x.
  cblte-gav-character-attr   cblt-x1-compx   pic x comp-x.
  cblte-gav-filler   cblt-x1 occurs 3   pic x(3)
status-code See Library Routines - Key
On Entry:
table-count The number of attributes to set.
attribute-index The table of indexes in the attribute table.
attribute-value The table of attribute descriptions corresponding to the table of indexes.
On Exit:
table-count The number of attributes successfully set. This is normally the number requested but is less if the call was not entirely successful.
cblte-gav-filler Unused.
See Also: