Anonymous user
Terminal control/Cursor positioning: Difference between revisions
Terminal control/Cursor positioning (view source)
Revision as of 19:47, 16 December 2010
, 13 years agono edit summary
m (C points to minesweeper.) |
No edit summary |
||
Line 38:
Print("Hello")</lang>
==
The REXX doesn't have any cursor or screen management tools, but some REXX interpreters have
<br>added the functionality via different methods.
<br><br>Below is one example implented by PC/REXX:
<lang rexx>
/*REXX program demonstrates cursor position and writing of text to same.*/
/*──────────────────────────────────────examples are for PC/REXX only. */
call cursor 3,6 /*move the cursor to row 3, col 6*/
say 'Hello' /*write the text at that location*/
call scrwrite 30,50,'Hello.' /*another method. */
call scrwrite 40,60,'Hello.',,,14 /*another ... in yellow.*/
</lang>
=={{header|Retro}}==
|