lua-users home
lua-l archive

Re: GUI interface style query

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


On Fri, 2004年10月29日 at 15:43 +0100, David Given wrote:
> BTW, I've noticed that this works:
> for i, j in table do
> print(i, "=", j)
> end
> It seems to do the same thing as pairs(table). Is this intended?
This is purely backward-compatibility with Lua 4.0
Don't rely on it; use pairs() explicitly
D.
-- 
Daniel Silverstone http://www.digital-scurf.org/
PGP mail accepted and encouraged. Key Id: 2BC8 4016 2068 7895

AltStyle によって変換されたページ (->オリジナル) /