Terminal control/Positional read: Difference between revisions
Content added Content deleted
m (moved Terminal Control/Reading a character at a specific location on the screen to Terminal control/Reading a character at a specific location on the screen: capitalization policy) |
(→REXX: deleted entry.) |
||
Line 10: | Line 10: | ||
20 REM So we subtract one from the coordinates |
20 REM So we subtract one from the coordinates |
||
30 LET c$ = SCREEN$(5,2)</lang> |
30 LET c$ = SCREEN$(5,2)</lang> |
||
==[[REXX]]== |
|||
{{incorrect|REXX|No actual description of how to do this task is included.}} |
|||
The Rexx programming language does not include terminal control as part of the language. However, it might be possible to output ANSI control sequences, and there are various workarounds which are platform specific: |
|||
[[Category:Terminal Control]] |
Revision as of 19:56, 16 December 2010
Terminal control/Positional read is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.
Determine the character displayed on the screen at column 3, row 6 and store that character in a variable.
BASIC
ZX Spectrum Basic
<lang basic> 10 REM The top left corner is at position 0,0
20 REM So we subtract one from the coordinates 30 LET c$ = SCREEN$(5,2)</lang>