Posted 13 August 2013 - 02:57 AM
So I'm begining to code a lock program on my 1.4.7 computercraft computer and I tested it once before and everything worked perfectly. How ever I wanted to add an space between the "i" string and the "attemtps remaining" text. So I went in and added the space however to my suprise, once I ran the program it started saying "new:44: attempt to call nil". I looked at the code and it has nothing to do with what I changed so I reverted the change to see if the computer was just being annoyingly picky but then it still said it, I looked and looked and can't seem to find any errors. This is a new way of coding for me so it's almost my best work, when I say new II mean applying new methods like string manipulation such as the print functions. Anyways if someone could help me identify this invisible error I would be grateful. oh heres the code.
http://pastebin.com/5YB55Siq
http://pastebin.com/5YB55Siq