16 posts
Location
U.S
Posted 06 November 2013 - 11:31 PM
i was wondering if this could work?
l = 0
function curs()
l = l + 1
term.setCursorPos(1,l)
end
if you dont know what im trying to do… im trying to make it so every time i use the function it move down one line :D/>
also how could i limit text while the computer is reading text?
162 posts
Posted 07 November 2013 - 01:27 AM
you could just use
print("This is on one line\nThis is on another\nAnd another")
which would print:
This code is on one line
This is on another
And another
or
local y = 1
function lineDown(x)
y = y + x
term.setCursorPos(1,y)
end
which would go down the number 'x' that you specify
also how could i limit text while the computer is reading text?
Not sure what you mean sorry
Edited on 07 November 2013 - 01:12 AM
16 posts
Location
U.S
Posted 07 November 2013 - 01:58 AM
you could just use
print("This is on one line\nThis is on another\nAnd another")
which would print:
This code is on one line
This is on another
And another
or
local y = 1
function lineDown(x)
y = y + x
term.setCursorPos(1,y)
end
which would go down the number 'x' that you specify
also how could i limit text while the computer is reading text?
Not sure what you mean sorry
Dammit, sorry mod, this was supposed to be edited on my first post
thanks… and about the other is ok i found what i was looking for… BUT THANKS i wasn't able to find that :)/>