lua-users home
lua-l archive

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

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?


Daniel Silverstone <>