Posted 04 January 2013 - 03:07 PM
I'm attempting to make a loop that displays a password for a door on a hidden terminal.
My code:
When I run it this shows up on the terminal:
The password is: luatekk
java.lang.ArrayIndexOutOfBoundsException
My main goal is to display the password with ought letting people get access to the terminal for programming. If anyone can give me some code that will do that with ought errors that would be great but I would still like to know what is causing the error.
My code:
function loop()
term.clear()
term.setCursorPos(1, 1)
print("The password is: luatekk")
loop()
end
loop()
When I run it this shows up on the terminal:
The password is: luatekk
java.lang.ArrayIndexOutOfBoundsException
My main goal is to display the password with ought letting people get access to the terminal for programming. If anyone can give me some code that will do that with ought errors that would be great but I would still like to know what is causing the error.