属性表の1つ以上のエントリ用の文字属性コード、および前景と背景のカラーマップ索引を取得する。
構文:
call "CBL_SCR_GET_ATTRIBUTES" using table-count
attribute-index
attribute-value
returning status-code
パラメーター:
|
呼び出しプロトタイプ使用時 (
説明の読み方) |
PIC (32 ビット システム) |
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 |
説明の読み方 参照 |
入力パラメーター:
table-count |
問い合わせる属性表エントリの数 |
attribute-index |
問い合わせるエントリの索引表 |
出力パラメーター:
table-count |
問い合わせに成功したエントリの数。通常、要求された数が入るが、呼び出しが完全に成功しなかった場合はそれよりも小さい値が入る。 |
attribute-value |
提供されている索引に対応する属性値の表 |
cblte-gav-filler |
使用されていない。 |
他参照:
関連項目