lua-users home
lua-l archive

Re: LUA 4.0 calling functions in another file or calling other scripts

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


Dear Ashwin,
I tried it and it works!
Thank you very much.
Andre
Ashwin Hirschi wrote:
I am using LUA 4.0 integrated in FEMM. I have two questions:
1. I would like to call LUA functions in another file from a LUA script.
Is this possible?
2. Is it possible to call another LUA file and continue execution from
there?
See if Lua's "dofile" function is available in FEMM, and experiment.
Here's the manual entry to get you on your way:
 http://www.lua.org/manual/4.0/manual.html#dofile
Ashwin.

AltStyle によって変換されたページ (->オリジナル) /