Open GoogleCodeExporter opened 9 years ago
the problem is that the cartridge is using a deprecated "arg" variable for
varargs. Kahlua only implements Lua 5.1 in which "arg" is replaced by "..." -
see http://www.lua.org/manual/5.1/manual.html#7 , "changes in the language"
If i come up with a way to add it for backwards compatibility, i will, but i
think that it will be needlessly difficult.
I suggest you replace this part of the code:
for i = 1,arg[n] do
local parArg = arg[i]
with:
for k,parArg in ipairs({...}) do
the good news is that the original players use Lua 5.1 as well so this won't
break compatibility.
Original comment by matej...@gmail.com
on 12 Jun 2012 at 6:51
Thank you very much, Jan. Now it works with the desktop version of openwig.
Best regards
Dirk (Charlenni)
Original comment by dirk.we...@googlemail.com
on 14 Jun 2012 at 2:45
Original issue reported on code.google.com by
dirk.we...@googlemail.com
on 12 Jun 2012 at 6:10Attachments: