require

Opens and executes a Lua file.

require "foo"

Note: Do not include the ".lua" on the end of the path.

See Also

Programming in Lua