[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Supports Lua Includefiles?
- From: Pete Gardner <pete@...>
- Date: Tue, 10 Apr 2001 09:44:23 -0700
I'm really looking forward to 4.1!!
:)
Pete Gardner
President, CEO
Helikon Technologies Inc.
http://www.helikon.com
> -----Original Message-----
> From: Luiz Henrique de Figueiredo [mailto:lhf@tecgraf.puc-rio.br]
> Sent: Tuesday, April 10, 2001 9:05 AM
> To: Multiple recipients of list
> Subject: Re: Supports Lua Includefiles?
>
>
> >does Lua support includefiles for often used parts of a
> programm, but in
> >different programms, like a header file in C?
>
> Simply add dofile"myfuncs.lua" at the beginning of your file.
>
> Lua 4.1 will have a function "require" that will avoid
> loading the same file
> twice.
> --lhf
>