lua-users home
lua-l archive

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


I am writing a Lua GUI script runner that takes a file written for the console and pipes the 'print' function to display it in the the GUI output. This works great, but now I want to take another function and overwrite it. This function is required (using "require()") in the file that is being loaded (using "loadfile()").

Is there a way to get this to happen?

I hope this makes sense.
--
Regards,
Ryan