Terminal control/Positional read: Difference between revisions
Content added Content deleted
m ({{omit from|Lilypond}}) |
m (→{{header|REXX}}: changed comments, added whitespace, added a comment. -- ~~~~) |
||
Line 110: | Line 110: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
The REXX doesn't have any cursor or screen management tools, but some REXX interpreters have added the functionality via different methods. |
The REXX doesn't have any cursor or screen management tools, but some REXX interpreters have added the functionality via different methods. |
||
{{works with|PC/REXX}} |
{{works with|PC/REXX}} |
||
<lang rexx>/*REXX program demonstrates reading a char at specific screen location.*/ |
<lang rexx>/*REXX program demonstrates reading a char at specific screen location.*/ |
||
⚫ | |||
⚫ | |||
howMany = 1 /*read one character. */ |
|||
stuff = scrRead(row, col, howMany) /*this'll do it. */ |
|||
⚫ | |||
⚫ | |||
stuff=scrRead(row,col,howMany) /*this'll do it. */ |
|||
other=scrRead(40,6,1) |
other = scrRead(40, 6, 1) /*same thing, but for row forty. */ |
||
/*stick a fork in it, we're done.*/</lang> |
|||
{{omit from|ACL2}} |
{{omit from|ACL2}} |