Terminal control/Cursor positioning: Difference between revisions

m
Moved Wren entry into correct alphabetical order.
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>
 
==={{header|WrenASIC}}===
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}}==
<syntaxhighlight lang="ecmascriptwren">System.write("\e[2J") // clear the terminal
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}}==
9,476

edits