Difference between revisions of "Term.clearLine"

From ComputerCraft Wiki
Jump to: navigation, search
(Anh em Ta voi nhau coi di)
m (Expanded)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Hello my friend heres my new gig easy as it looks Ill send u a total of 5350++ backlinks to your website in 2 tiers. This gig its for 1 website and up to 5 keywords. First tier to your main website 350 page rank 1-5 and the the second tier of 5000 profile backlinks pointing to your first tier.Ill send u a report in a txt file in less than 48 hours.Any question just send me a private message
+
{{lowercase}}
 +
{{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()