SCREEN$(row, col)


Returns a string with the character (if possible) located at the given screen coordinate (row, column). The character in the screen must exactly match the one in the current font character set being used.


SCREEN is a library function to be included with the following command:

# include <screen.bas>

Sample usage

# include <screen.bas>

PRINT AT 9, 10; "A"
LET c$ = SCREEN$(9, 10)
PRINT AT 0, 0; "The character at 9, 10 is "; c$


  • This function extends the one in Sinclair BASIC (and it's compatible with it) since it also allows rows 22 and 23.
  • When using --sinclair cmd line parameter this function is already available (i.e. no #include sentence is needed)

See also