>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)~=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: <[hidden email]>