[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: How to overwrite a function that is late-loaded using loadfile()
- From: "RJP Computing" <rjpcomputing@...>
- Date: Wed, 26 Nov 2008 16:40:48 -0500
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.