画面から文字列を読み込む。
call "CBL_READ_SCR_CHARS" using screen-position character-buffer string-length returning status-code
呼び出しプロトタイプ使用時 ( 説明の読み方) | PIC (32bitシステム) | ||||
---|---|---|---|---|---|
screen-position | Group predefined as cblt-screen-position containing: | Group 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). | |||
string-length | cblt-x2-compx | pic x(2) comp-x. | |||
status-code | 説明の読み方 参照 |
screen-position | 読込みを開始する画面位置。左上の角が行0、カラム0。本付録において前述した スクリーンルーチンを参照のこと。 |
string-length | 読み込む文字列の長さ |
character-buffer | 画面から読み込まれる文字。このデータ項目は少なくともstring-lengthにより指定された長さが必要である。この長さを越えたデータ項目内の位置については変更はない。 |
string-length | 画面の終わりに到達すると、読み込まれた長さがここで返される。 |