QBasic 1.1: SCREEN Function

Syntax

SCREEN (row%,column% [,colorflag%])

Description / Parameter(s)

row% The row coordinate of a character.
column% The column coordinate of a character.
colorflag% A value (0 or 1) that specifies what is returned.
 
ValueReturns
0 (or omitted)The character's ASCII code.
1The character's color attribute.

Example

CLS PRINT "Hello" PRINT "The ASCII value of character at 1,1 is"; SCREEN(1, 1)