OS/2 Procedures Language 2/REXX


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


SysCurPos

 
 Function: SysCurPos 
 Syntax:   pos = SysCurPos(row, col) 
      pos       The position of the cursor upon the calling of SysCurPos 
                in the form 'row col'. 
      row       The row on the screen to move to. 
      col       The column on the screen to move to. 
                Note:    Position (0,0) is at the upper left.  You may 
                call SysCurPos without parameters to check the current 
                cursor position without changing it. 
 Purpose:  Move the cursor to the specified row and column and/or query 
           the current/previous cursor position. 

           Example:
           
            /* Code */
            call SysCls
            parse value SysCurPos() with row col
            say 'Cursor position is 'row', 'col
           
            /* Output */
            Cursor position is 0, 0
           
           
 

Inf-HTML End Run - Successful