I know it shouldn't, but it all depends on the order the calls/functions are declared in the file. For instance if you try to call a local function located below the call, it will be unable to run it (because the program doesn't know the function yet).In this case it should work I guess... Thanks for the help :-)
ADDON_NAME, nameSpace = ... local firstFunctionName, secondFunctionName, thirdFunctionName function thirdFunctionName(userInput) return secondFunctionName(userInput) end function secondFunctionName(userInput) return firstFunctionName(userInput) end function firstFunctionName(userInput) if userInput then return type(userInput) end return false end
and they all are local scoped (or at least I haven't ran into any global leaking afaik using this method) but you don't have to worry about their order.