Originally Posted by LucretiaValdis
Hello Everyone!
I'm getting these Strange UI-Errors:
5224600099212242119:3 function expected instead of nil
stack traceback:
5224600099212242119:3 in function '(main chunk)'
I just cant figure out what causes it because filenames are completely lacking.
Anyone got an idea what causes these errors?
Sorry if this question has already been asked, didn't find anything.
Greetings
|
Yes, a function was expected but the lua parser only got a nil.
Basically you tried to call a non-existing function, this happens with typos, for example:
function MySimpleFunc(param)
end
function MyOtherFunc()
MySimpelFunc(param)
end
or forgetting the function keyword for a function declaration or calling a function _before_ it was defined.