Terminal control/Cursor positioning: Difference between revisions
Content deleted Content added
m →{{header|REXX}}: whitespace/semantic annotations |
|||
Line 40: | Line 40: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
The REXX language doesn't have any cursor or screen management tools, but some REXX interpreters have added the functionality via different methods. |
The REXX language doesn't have any cursor or screen management tools, but some REXX interpreters have added the functionality via different methods. |
||
{{works with|PC/REXX}} |
|||
<br><br>Below is one example implented by PC/REXX: |
|||
⚫ | |||
<lang rexx> |
|||
⚫ | |||
/*──────────────────────────────────────────────────────────────────────*/ |
|||
/*─────────────────────examples are for PC/REXX only.───────────────────*/ |
|||
/*──────────────────────────────────────────────────────────────────────*/ |
|||
call cursor 3,6 /*move the cursor to row 3, col 6*/ |
call cursor 3,6 /*move the cursor to row 3, col 6*/ |
||
say 'Hello' /*write the text at that location*/ |
say 'Hello' /*write the text at that location*/ |
||
call scrwrite 30,50,'Hello.' /*another method. */ |
call scrwrite 30,50,'Hello.' /*another method. */ |
||
call scrwrite 40,60,'Hello.',,,14 /*another ... in yellow.*/ |
call scrwrite 40,60,'Hello.',,,14 /*another ... in yellow.*/</lang> |
||
</lang> |
|||
=={{header|Retro}}== |
=={{header|Retro}}== |