Is there a way to set where the new line starts whenever i use the print() command?
At the moment i have this:
term.setCursorPos(17,7)
print("+------------------+")
term.setCursorPos(17,8)
print("| |")
term.setCursorPos(17,9)
print("+------------------+")
to produce a box like this:
(Edit: Formatting didn't work so i made a screen shot, How do you force a post to show multiple spaces?)
Is there a better way to set where the new line starts so i don't have to essentially repeat term.setCursorPos(17,x)
I can't do this:
print(" +------------------+")
print(" | |")
print(" +------------------+")
Because this replaces any text to the left of the box with spaces which overwrites other parts of my program.
Edited by Spexiono, 21 February 2014 - 04:19 AM.











