[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: GUI interface style query
- From: Daniel Silverstone <dsilvers@...>
- Date: Fri, 29 Oct 2004 16:03:48 +0100
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