lua-users home
lua-l archive

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


> Probably something like this:
>
>  local _ENV={}
>  function f1() ... end
>  function f2() ... end
>  ...
>  return _ENV
>

In that case, globals (builtins) cannot be used within definitions!?!
Did I miss something?