lua-users home
lua-l archive

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


Yogesh Gaur wrote:
Please help me out if any of the fellow users know the way to call one Lua script inside the other script.

There is probably too little detail in your description for anyone to provide an accurate suggestion.

If you have multiple files, learn to use modules. If modules is not a match for what you are doing, then you need to tell the list more. Only then you will get intelligent answers. Otherwise, you will only get wild stabs at a solution.

On Fri, Nov 7, 2008 at 12:21 PM, Yogesh Gaur <yogeshgaur.83@gmail.com <mailto:yogeshgaur.83@gmail.com>> wrote:


    Hi All,

    This is my first mail to the Lua mailing list.

    I want to know that is there any way through which we can call the
    one Lua script inside the other script. Actually, my requirement is
    that I have to call one general script which would set my variables,
    preparing the system for me and then through other scripts I am
    performing different different operations on the basis of the
    variables set by the first script.

    Thnks & Regards,
    Yogesh Gaur

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia