lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>I tried to whomp it up in lua but I'm not a lua programmer, and Lua
>4.0alpha (I've not been able to snag the 4.0beta yet) barfs on my
>naive attempt.

It's simple to fix: It's "end" instead of "done" and "print(n)" instead of
"print n". Also, you may want to see what difference adding "local x,i" does...
--lhf