OS/2 Procedures Language 2/REXX


Inf-HTML [About][Toc][Index] 0.9b (c) 1995 Peter Childs


SysTextScreenRead

 
 Function: SysTextScreenRead 
 Syntax:   string = SysReadScreen(row, col, [len]) 
      row       The row from which to start reading. 
      col       The column from which to start reading. 
      len       The number of characters to read.  The default is to read 
                up to the end of the screen. 
      string    The character reads from the screen.  This includes 
                carriage return and linefeed characters which comprise the 
                end of lines should the number of character reads span 
                multiple lines. 
 Purpose:  Reads a specified number of characters from a specified 
           location of the screen. 
 
 Limitations   This function only reads in characters and does not 
 consider the color attributes of each character read.  When restoring the 
 character string to the screen with say or charout, the previous color 
 settings will be lost. 

 /* Example which reads in the entire screen */
  screen = SysTextScreenRead( 0, 0 )
 
 /* Example which reads in one line */
  line = SysTextScreenRead( 2, 0, 80 )
 
   

Inf-HTML End Run - Successful