lua-users home
lua-l archive

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



Could these be implemented with the

	local next= next

paradigm, storing local copies of the things the functions need? That way, users explicitly attaching 'print' (or pairs) wouldn't need to worry about the dependencies?

Roberto!?  ;)
-ak


2.7.2004 kello 11:34, Wim Couwenberg kirjoitti:


Hmm... I found yet another dependency.  Could the
following be the complete list of C globals
dependencies in the core and libs?

"<num> ^ <num>" needs "__pow"
"for .. in <table>" (old style) needs "next"
"ipairs" needs "ipairs"
"pairs" needs "next"
"print" needs "tostring"
"require" needs "LUA_PATH" and "_LOADED"

lauxlib functions "lua_dofile" and "lua_dobuffer" need
"_ALERT"

--
Wim



		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail