Jump to content




My Program Isnt Working, Dont Know Why


  • You cannot reply to this topic
1 reply to this topic

#1 FuuuAInfiniteLoop(F.A.I.L)

  • Banned
  • 435 posts
  • LocationThe left part of this post

Posted 09 August 2013 - 09: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

#2 immibis

    Lua God

  • Members
  • 1,033 posts
  • LocationWellington, New Zealand

Posted 11 August 2013 - 07:29 AM

If v isn't nil, and you get that error, then t is nil.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users