lua-users home
lua-l archive

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


>That is strange. In my main source file I have:
>
>dofile("moduleX")
>dofile("moduleY")
>
>function abc ()
>
>end
>
>and when I bytecompile the main source file together with moduleX and Y 
>and move the bytecompile'd file together with the host executable to 
>another machine which ONLY has the one bytecompiled file, everything 
>seems to work fine.

I think it's just because you're not testing whether dofile succeeds (it will
fail in your case...).
--lhf