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