awsumben13, on 23 December 2014 - 08:03 PM, said:
There are 2 problems here:
1) You have 2 too many ends closing the mainMenu() function.
2) You are writing "else if" rather than "elseif" - it's just one word, having it as 2 words is confusing the interpreter and making it think you have an if statement inside an else statement, which is why it was saying there should be more ends.
Thanks for the help, but it still appears to skip the menu after removing the extra ends and changing all else ifs to elseif.
Edit: I found the error: I was referring to menu[i] instead of menu.menu[i]. I'm sorry if I wasted anyone's time, and I hope you all have a nice day.
Edited by qsysmine, 23 December 2014 - 11:05 PM.