lua-users home
lua-l archive

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


I know that there are some issues with luac in 5.2.0 (work 2)
-- see msg00298 08/01/2010. I have been experimenting with the
command "luac -l -l -p" on some very simple test scripts, with
the following odd results, which I hope may reveal something:

x = print                   -- fails
x = _G.print                -- OK
x = print; x "hello"        -- OK
print "hello"               -- OK

Can anybody explain?
-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/