属性表の 1 つ以上のエントリに対する、文字属性コードおよび前景カラーマップと背景カラーマップの索引を取得します。
制約事項: このルーチンはネイティブ COBOL でのみサポートされます。
構文:
call "CBL_SCR_GET_ATTRIBUTES" using table-count
attribute-index
attribute-value
returning status-code
パラメーター
- table-count
- 呼び出しプロトタイプ (「説明の読み方」を参照):cblt-x2-compx
- PIC:pic x(2) comp-x
- attribute-index
- 呼び出しプロトタイプ (「説明の読み方」を参照):cblt-x1-compx OCCURS n TIMES
- PIC:pic x comp-x OCCURS n TIMES
- attribute-value
- cblt-generic-attr-value として定義されている集団 (以下を含む)
01 cblt-generic-attr-value typedef.
03 cblte-gav-foreground-color-attr cblt-x4-compx. *> pic x(4) comp-x.
03 cblte-gav-background-color-attr cblt-x4-compx. *> pic x(4) comp-x.
03 cblte-gav-character-attribute cblt-x1-compx. *> pic x comp-x.
03 cblte-gav-filler cblt-x1-compx occurs 3. *> pic x(3).
- status-code
- 「説明の読み方」を参照。
入力パラメーター:
table-count |
問い合わせる属性表のエントリ数。 |
attribute-index |
問い合わせるエントリの索引の表。 |
出力パラメーター:
table-count |
問い合わせに成功したエントリの数。通常は要求した数ですが、呼び出しが完全には成功しなかった場合はそれよりも少なくなります。 |
attribute-value |
指定された索引に対応する属性値の表。 |
cblte-gav-filler |
未使用。 |