lua-users home
lua-l archive

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


William Roper wrote:

> Just a guess off the top of my head but:
> 
> TRACE = function (x) 
> if(_G[x]) then
> print (x .. " : " .. _G[x])
> else
> print (x .. " : nil")
> end
> end

Help! I'm trapped in an Al Qaeda terrorist cell and they say if I can't
do locals, not globals, then they're going to come at me with tiny
little tweezers...

(Also they don't a benefit making TRACE a handle to a function.)

--
  Phlip
  http://ssw0251/wiki.rb?RecentChanges
  home: mailto:phlip2005@gmail.com
  cell: 760 214 2958