This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
FuuuAInfiniteLoop(F.A.I.L)'s profile picture

My Program Isnt Working, Dont Know Why

Started by FuuuAInfiniteLoop(F.A.I.L), 09 August 2013 - 08:35 AM
FuuuAInfiniteLoop(F.A.I.L) #1
Posted 09 August 2013 - 10:35 AM
I dont know why my program isnt working.

If if run in parse mode(pressing 2) and i type "n" to the question, it doesnt ask anything, but if I answer "y" the first sentence doesnt throw an error but the second(if you use the same word) throws an error in line 197, "index expected, got nil" when v isnt nil after asnwering the question.

http://pastebin.com/3EXzTk8f
immibis #2
Posted 11 August 2013 - 08:29 AM
If v isn't nil, and you get that error, then t is nil.