Jump to content




attempt to index ? (a nil value)


  • You cannot reply to this topic
4 replies to this topic

#1 Sporegen

  • New Members
  • 2 posts

Posted 13 August 2013 - 05:54 PM

Title: attempt to index ? (a nil value)

I've been working on a simple menu program, when i try to run it i get a attempt to index ? (a nil value) error.
I'm trying to call the Handler Functions from within the table (line 18, 19 and 20).
The error seems to occur on line 43.
Here's the code: http://pastebin.com/2dGvrkp0
Thanks in advance.

#2 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 13 August 2013 - 07:14 PM

Split into new topic.

#3 Yevano

  • Members
  • 376 posts
  • LocationUSA

Posted 13 August 2013 - 09:18 PM

Change menu to mainMenu (or activeMenu) on line 43.

#4 Sporegen

  • New Members
  • 2 posts

Posted 13 August 2013 - 11:07 PM

How did i not see that, i feel stupid now.
Thanks Yevano!

#5 Yevano

  • Members
  • 376 posts
  • LocationUSA

Posted 13 August 2013 - 11:10 PM

You're welcome. :D





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users