lua-users home
lua-l archive

Re: "module" tutorial

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


On Apr 15, 2006, at 13:26, Pavol Severa wrote:
The lua5.1 module system (if I understand it at all:) doesn't give you
any freedom for the choice of the name.
Aside from the global environment pollution issue, you can refer to a module whichever way you want:
local abacus = require( "math" )
abacus.min( 1, 2 )
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/

AltStyle によって変換されたページ (->オリジナル) /