lua-users home
lua-l archive

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


Hello,

I have noticed that the documentation (3.2 and 4.0) for the 
set/getglobal tag methods is slightly incorrect.  It shows
their "signatures" as:

	function setglobal(varname, newvalue)
	function getglobal(varname)

when it should show:

	function setglobal(varname, oldvalue, newvalue)
	function getglobal(varname, oldvalue)

I.e., they receive 3 and 2 arguments (respectively),
not 2 and 1.  

ajk