Re: Too many local variables?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Too many local variables?
- From: Rebel Neurofog <rebelneurofog@...>
- Date: Thu, 9 Jun 2011 20:18:25 +0400
Try this:
local a, b = 1, 2
function printab ()
print (a, b)
end
local a, b = 3, 4
function printab2 ()
print (a, b)
end
printab ()
printab2 ()