Originally Posted by Lombra
Yeah, it is local to the function, in exactly the same way as it would be had you done this:
Code:
function addon.FunctionInFileB()
local var
end
|
... Teeeechnically, yes... Except in Sweetsour's code, var would have the value myVariable passed to it, whereas in your code, var is nil.