Posted 08 March 2013 - 11:01 PM
Title: io.read() help
how can I make it so it set the cursor position to xPos, yPos and then make a variable "y" and set it to io.read() then prints whatever you type?
function foo( xPos, yPos, var )
term.setCursorPos( xPos, yPos )
????
end
readIn( 3, 3, y)
print(y)
how can I make it so it set the cursor position to xPos, yPos and then make a variable "y" and set it to io.read() then prints whatever you type?