lua-users home
lua-l archive

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


Hello,
 
I was wondering if it is possible to have a lua program that consists of more than 1 file.
What I would like to do, is to write some functions in a file, precompile that, and then
later, from some 'main program file' , to call functions in the other (precompiled) files.
Is this possible?
Must there be some kind of import statement or something?
(I saw the dostring/dofile functions, but I couldn't find a solution with those functions.)
 
 
Regards,
Klaas-Jan Stol