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|RapidQ}}: Added.) |
m (Moved Wren entry into correct alphabetical order.) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 189:
<syntaxhighlight lang="applesoft basic"> 10 VTAB 6: HTAB 3
20 PRINT "HELLO"</syntaxhighlight>
Rows have the range 0-24, columns have the range 0-79.
<syntaxhighlight lang="basic">
LOCATE 5, 2
PRINT "Hello"
</syntaxhighlight>
==={{header|BaCon}}===
Line 214 ⟶ 221:
<syntaxhighlight lang="freebasic">Locate 6, 3 : Print "Hello"
Sleep</syntaxhighlight>
==={{header|GW-BASIC}}===
{{works with|BASICA}}
<syntaxhighlight lang="gwbasic">
10 LOCATE 6, 3
20 PRINT "Hello"
</syntaxhighlight>
==={{header|IS-BASIC}}===
Line 225 ⟶ 239:
==={{header|Locomotive Basic}}===
<syntaxhighlight lang="locobasic"> 10 LOCATE 3,6
20 PRINT "Hello"</syntaxhighlight>
==={{header|MSX Basic}}===
<syntaxhighlight lang="basic"> 10 LOCATE 2,5
20 PRINT "Hello"</syntaxhighlight>
Line 850 ⟶ 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 857 ⟶ 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}}==
|