CBL_SCR_GET_ATTRIBUTES

Gets the character attribute code, and foreground and background colormap indexes for one or more entries in the attribute table.

Syntax:
call "CBL_SCR_GET_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 attribute table entries to query.
attribute-index The table of indexes of the entries to query.
On Exit:
table-count The number of entries successfully queried. This is normally the number requested but is less if the call was not entirely successful.
attribute-value The table of attribute values corresponding to the indexes supplied.
cblte-gav-filler Unused.
See Also: