Re: question on modules (newbie)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: question on modules (newbie)
- From: "Alex Queiroz" <asandroq@...>
- Date: 2006年2月23日 13:23:17 -0300
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/