lua-users home
lua-l archive

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


> But is there a difference between theses two lua codes :
> "f = foo.bar; v = f()" and "v = foo.bar()"
> I've made test with theses two call and obtain different result and I 
> don't understand why.

Are you sure about that? Is `f' a local variable? Both forms should be
completely equivalent...

-- Roberto