文字と属性の列を画面からの列に交換する。
call "CBL_SWAP_SCR_CHATTRS" using screen-position character-buffer attribute-buffer string-length returning status-code
呼び出しプロトタイプ使用時 ( 説明の読み方) | PIC (32bitシステム) | ||||
---|---|---|---|---|---|
screen-position | Group predefined as: containing | 以下を含む集団項目: | |||
cblte-scrp-row | cblt-x1-compx | pic x comp-x. | |||
cblte-scrp-col | cblt-x1-compx | pic x comp-x. | |||
character-buffer | pic x(n). | pic x(n). | |||
attribute-buffer | pic x(n). | pic x(n). | |||
string-length | cblt-x2-compx | pic x(2) comp-x. | |||
status-code | 説明の読み方 参照 |
screen-position | 書込みを開始する画面位置。左上の角が行0、カラム0。 スクリーンルーチンを参照のこと。 |
character-buffer | 書き込む文字列。 |
attribute-buffer | 書き込む属性列。 |
string-length | 書き込む文字列の長さ。この書込みが画面の終わりからはみ出す場合、書込みは画面の終わりで終了する。 |
character-buffer | 画面から読み込まれる文字。このデータ項目は少なくともstring-lengthにより指定された長さが必要である。この長さを超えたデータ項目内の位置については変更はない。 |
attribute-buffer | 画面から読み込まれる属性。このデータ項目は少なくともstring-lengthにより指定された長さが必要である。この長さを超えたデータ項目内の位置については変更はない。 |
string-length | 画面の終わりに到達すると、交換された長さ(セル数、つまり、文字-属性ペア数)がここで返される。 |