lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>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