Difference between revisions of "Term.clearLine"

From ComputerCraft Wiki
Jump to: navigation, search
(Love Computer)
m (Expanded)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
I in need of to allocate this milieu I organize when looking for lessen auto parts, they saved me 100s of dollars when I was getting my motor car second on the motorway mould month, so I ruminating I'd reoccur the karma and give them a tumescence on here. Commonly 'disregard auto parts' turn d‚mod‚ to be anything but, and you tip up spending over-the-odds for the sake of in reduced circumstances grade parts and yeah, that's no longer a misconception I can contribute to cause, who can in this restraint, right? So, rpm-motots-inc.com are rare, like non-standard real, surely different. Senior up, the price you are quoted is the price you pay off, no hidden extras. The parts I ordered were all in goods, were shipped firm and were well packaged. I was amazed with the rank, chiefly in compensation the rude bonus I paid, which was
+
{{lowercase}}
$391 cheaper than the accessible diminish auto parts sites. I had a few questions previously I ordered and the employees I spoke to were exceedingly cooperative, and knew their stuff. Their guy service and distribute of parts is formidable, rpm motors certainly keep their promises when it comes to discount auto parts.
+
{{Function
 +
|name=term.clearLine
 +
|returns=None
 +
|api=term
 +
|addon=ComputerCraft
 +
|desc=Clears the line that the cursor is currently on. That line is then filled with the color set by [[term.setBackgroundColor]] (''only if'' computer supports that color)
 +
|examples=
 +
{{Example
 +
|desc=Clears the first line on the computer screen.
 +
|code= [[term.setCursorPos]](1, 1)
 +
'''term.clearLine()'''
 +
}}
 +
}}
 +
 
 +
[[Category:API_Functions]]

Latest revision as of 17:18, 10 April 2014


Grid Redstone.png  Function term.clearLine
Clears the line that the cursor is currently on. That line is then filled with the color set by term.setBackgroundColor (only if computer supports that color)
Syntax term.clearLine()
Returns None
Part of ComputerCraft
API term

Examples

Grid paper.png  Example
Clears the first line on the computer screen.
Code
term.setCursorPos(1, 1)
term.clearLine()