Jump to content

Terminal control/Positional read: Difference between revisions

m
→‎{{header|REXX}}: changed comments, added whitespace, added a comment. -- ~~~~
m ({{omit from|Lilypond}})
m (→‎{{header|REXX}}: changed comments, added whitespace, added a comment. -- ~~~~)
Line 110:
=={{header|REXX}}==
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}}
<lang rexx>/*REXX program demonstrates reading a char at specific screen location.*/
colrow =3 6 /*point to columnrow threesix. */
howManycol =1 3 /*read one character. /*point to column three. */
howMany = 1 /*read one character. */
 
rowstuff =6 scrRead(row, col, howMany) /*this'll do it. /*point to row six. */
col=3 /*point to column three. */
howMany=1 /*read one character. */
 
stuff=scrRead(row,col,howMany) /*this'll do it. */
 
other = scrRead(40, 6, 1) /*same thing, but for row forty. */</lang>
/*stick a fork in it, we're done.*/</lang>
 
{{omit from|ACL2}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.