Such as:
local A = 1 for i=1, 20 do if A == 1 then -- Is A nil or 1? blah() end end function b () if A == 1 then -- is A nil or 1? end end function c () local B = 2 end c() if B == 2 then -- Is B nil or 2? end
It's quite a confusing mess honestly of where local variables can be called.
I've seen a few people do this:
local A = 1 function B () local A if A == 1 then -- A is 1? end end
It's confusing. Anyone got any good information about this?












