lua-users home
lua-l archive

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

>error: attempt to call global `tag' (a nil value)
>How looks the following line if I need it compatible with Lua 4.1?
>if tag(arg[1])~=tag(_OUTPUT) then

You have to compare event tables (now called metatables).
Try the compatibility library for tags posted by Roberto (although I haven't
tested it with 4.1w4). Search the lua-l archives for

 Message-ID: <>