advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SCREEN Function Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 SCREEN (line%, column% [,colorflag%])
 
 Usage Notes
   ■ References to the SCREEN function are not allowed when forms are showing
     and cause Visual Basic to generate an error. Use the HIDE method to hide
     any visible forms or controls before executing this function.
     See: HIDE Method
 
   ■ If the character at (10,10) is A, the following statement returns 65,
     the ASCII code for A, to the variable X:
 
         X = SCREEN(10,10)
 
   ■ In graphics screen modes, if the pattern on the screen at the given
     character location does not exactly match any pattern in the current
     ASCII character set, the SCREEN function returns the ASCII code for
     a space.
 
   ■ If colorflag% is nonzero, the SCREEN function returns 0.