lua-users home
lua-l archive

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


Hello Nathan:

Lua only does a proper tail call if the function ends with a statement of the form "return func(...)". So in this case, the last line of the listing function should be 'return listing(const("."))'. I hope this helps.

--
Matt Campbell
Lead Programmer
Serotek Corporation
www.freedombox.info
"The Accessibility Anywhere People"