lua-users home
lua-l archive

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


Hi,

Thanks to all for the answers and even example.
I was expecting compatibility between 4.0 and 5.0 but looks like it's quite different. If by chance some of you know about a 5.0 code example url...thanks in advance.

Regards
Th

Jamie Webb wrote:

The script you are trying to run was written for Lua 4. The getargs function no longer exists in Lua 5. The equivalent Lua 5 program (also tidied up to remove superfluous statements, brackets, and semicolons) is this:




---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0403-16, 03/20/2004
Tested on: 3/21/2004 10:38:40 AM
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com