cobcols

画面のカラム数を返却します。

構文
#include "cobscreen.h"

int cobcols (void);
パラメータ

なし

コメント

この関数は、画面の幅をカラム数で返却します。

同等の COBOL 構文
call "CBL_GET_SCR_SIZE" using ...

画面の幅を見つけ表示するには、

int width = cobcols();
 
printf("Width of screen = %d\n", width);
関連項目:

coblines