coblines

Returns the number of lines on the screen.

Syntax:
#include "cobscreen.h"

int coblines (void);
Parameters:

None.

Comments:

This function returns the depth in lines of the screen.

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);
See Also:

cobcols