[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: I think it's "require" but I can't get it to work....
- From: Daniel Silverstone <dsilvers@...>
- Date: Sat, 25 Oct 2003 12:13:51 +0100
On Sat, 2003-10-25 at 04:17, Ron Hudson wrote:
> I have a file with a bunch of functions in it, named "ansi.lua"
> How do I properly use the functions in that file when writing
> a program?
dofile "/path/to/ansi.lua"
should do the trick
*or* put ansi.lua on the LUA_PATH and then you can do
require "ansi"
What operating system are you using?
D.
--
Daniel Silverstone <dsilvers@digital-scurf.org>
Digital-Scurf