1つ以上のCOBOL属性値(属性表索引)のそれぞれに関連する文字属性、および前景と背景のカラーマップを定義する。
構文:
call "CBL_SCR_SET_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 |
属性表における索引の表 |
attribute-value |
索引表に関連する属性記述の表 |
出力パラメーター:
table-count |
設定に成功した属性の数。通常は要求された数が入るが、呼び出しが完全に成功しなかった場合はそれより小さい値が入る。 |
cblte-gav-filler |
使用されていない。 |
他参照:
関連項目