[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua fails Knuth's "man or boy" test?!
- From: "Peter Jacobi" <pjacobi.de@...>
- Date: Sat, 1 Nov 2008 22:35:28 +0100
Hi Duncan, All,
On Sat, Nov 1, 2008 at 10:29 PM, Duncan Cross <duncan.cross@gmail.com> wrote:
> The statement "function B() ... end" is writing to the global variable B
> each time. Try "local function B() ... end" instead.
Yeah, thanks! That was the only problem. Now everything works as
expected.
Regards,
Peter