[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.1 rc3 now available
- From: Mark Hamburg <mhamburg@...>
- Date: Fri, 10 Feb 2006 18:16:33 -0800
on 2/10/06 12:00 PM, Roberto Ierusalimschy at roberto@inf.puc-rio.br wrote:
> You did not. We did :) Now it is in the documentation (as deprecated,
> although they are still available in the code).
I understand the motivation for deprecating them, but is there thought to
what the replacement is for:
table.foreach( t, print )
It's a lot wordier to write:
for k, v in pairs( t ) do print( k, v ) end
Mark