Terminal control/Cursor positioning: Difference between revisions
Terminal control/Cursor positioning (view source)
Revision as of 11:50, 13 February 2024
, 3 months agoMoved Wren entry into correct alphabetical order.
(→{{header|ASIC}}: Added.) |
m (Moved Wren entry into correct alphabetical order.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 239:
==={{header|Locomotive Basic}}===
<syntaxhighlight lang="locobasic"> 10 LOCATE 3,6
20 PRINT "Hello"</syntaxhighlight>
<syntaxhighlight lang="basic"> 10 LOCATE 2,5
20 PRINT "Hello"</syntaxhighlight>
Line 864 ⟶ 868:
1:
pop ret ;Pop counter and return</syntaxhighlight>
=={{header|Wren}}==
System.print("\e[6;3HHello") // move to (6, 3) and print 'Hello'</syntaxhighlight>▼
=={{header|XPL0}}==
Line 871 ⟶ 879:
Text(0, "Hello"); \upper-left corner is coordinate 0, 0
]</syntaxhighlight>
▲=={{header|Wren}}==
▲<syntaxhighlight lang="ecmascript">System.write("\e[2J") // clear the terminal
▲System.print("\e[6;3HHello") // move to (6, 3) and print 'Hello'</syntaxhighlight>
=={{header|Z80 Assembly}}==
|