lua-users home
lua-l archive

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


Hallo,

On 2/23/06, Ryanne Thomas Dolan <rtdmr6@umr.edu> wrote:
>
>  The "test" module above will break because the print function is no longer
> defined within foo's environment.  To fix this, you need package.seeall:
>

local print = print

module"test"

function foo() print"To be or not to be?" end

--
-alex
http://www.ventonegro.org/