On 2006-08-28, David Roundy <[EMAIL PROTECTED]> wrote:
> I've got a script that broke on upgrade to the version of ion3 that is
> now in debian testing, which is rather a useful one. Actually, a
> couple of scripts broke, but I'll ask about one at a time, as the
> answer to one question may give hints to the other.
All the brokenness is probably due to the incompatibilities between
Lua 5.0 and 5.1, to which Ion switched for that release.
In particular, you can't iterate over a table with 'for k, v in table'
anymore :(. Instead, you have to use the 'pairs' iterator:
'for k, v in pairs(table)'. For other incompatibilities, see
<http://www.lua.org/manual/5.1/manual.html#7>
--
Tuomo