#include "cobscreen.h" int cobcols (void);
None.
call "CBL_GET_SCR_SIZE" using ...
To find out and display the width of the screen use:
int width = cobcols(); printf("Width of screen = %d\n", width);
int width = cobcols(); cobprintf("Width of screen = %d\n", width);
Comments:
This function returns the width in columns of the screen.