To return the ASCII code (0-255) for the character at the specified row (line) and column on the screen.
x is a numeric variable receiving the ASCII code returned.
rowis a valid numeric expression within the range 1 to 25.
colis a valid numeric expression 1 to 40, or 1 to 80, depending upon screen width setting. See the WIDTH statement.
z is a valid numeric expression with a true or false value. It may be used only in alpha mode.
The ordinal of the character at the specified coordinates is stored in the numeric variable. In alpha mode, if the optional parameter zis given and is true (nonzero), the color attribute for the character is returned instead of the ASCII code for the character (see the COLOR statement).
Any values entered outside of the range indicated result in an "Illegal function call" error. Row 25 may be referenced only if the function key is off.
100 X=SCREEN (10, 10)
If the character at 10,10 is A, then X is 65.
110 X=SCREEN (1, 1, 1)
Returns the color attribute of the character in the upper-left corner of the screen.
All Frank Sinatra recordings, All Beatles albums, All solo albums from John Lennon, Paul McCartney, George Harrison and Ringo Starr, All Beatles songs, List of Platinum selling albums, Database with hits from 1950 to 1999.
Sought after DLL files, Nutworks magazine (retro), Worldwide ISO and TLD codes, File extensions database, The Hackers dictionary, Free software for the Atari, Amiga and Macintosh, Nokia smartphone, PocketPC, List of all BASIC programming language commands, List of all DOS commands, Free Advanced Bash-Scripting Guide (Linux-Unix)