[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: "module" tutorial
- From: PA <petite.abeille@...>
- Date: Mon, 17 Apr 2006 17:17:45 +0200
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/