On Thu, May 18, 2006 at 06:08:41PM +0000, Tuomo Valkonen wrote:
> Please notice that many of the scripts in the Ion scripts repository
> may have stopped working after the switch to Lua 5.1. They should
> be updated appropriately. The most important incompatibility is
> that the syntax
>
> for k, v in t do ... end
>
> for iterating the table t is no longer supported. Instead, one
> must explicitly use an iterator:
>
> for k, vin ipairs(table) do ... end.
^^^^^^
this is only for iterating arrays. You probably want
for k, v in pairs(table) do ... end
if you have arbitrary keys instead of ordered integer index keys (1,2,3...)
Jürgen