Returns the number of lines on the screen.
Note: This function is supported for native COBOL only.
Syntax:
#include "cobscreen.h"
int coblines (void);
Equivalent COBOL Syntax:
call "CBL_GET_SCR_SIZE" using ...
Example:
To find out and display the depth of the screen use:
int depth = coblines();
cobprintf("Depth of screen = %d\n", depth);
Comments:
This function returns the depth in lines of the screen.