[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: disabling global definitions within function blocks
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 7 Jan 2003 23:24:21 -0200
>If I predefine a "foo" slot in g, then I get the expected error on "x = 1".
I think you mean to define "foo" in "G":
function G.foo() x = 1 end
--lhf