RosettaCodeData/Task/Terminal-control-Positional-read/REXX/terminal-control-positional-read.rexx
2023-07-01 13:44:08 -04:00

9 lines
639 B
Rexx

/*REXX program demonstrates reading a character from (at) at specific screen location. */
row = 6 /*point to a particular row on screen*/
col = 3 /* " " " " column " " */
howMany = 1 /*read this many characters from screen*/
stuff = scrRead(row, col, howMany) /*this'll do it. */
other = scrRead(40, 3, 1) /*same thing, but for row forty. */
/*stick a fork in it, we're all done. */