On Fri, Nov 28, 2008 at 12:55 PM, RJP Computing
<rjpcomputing@gmail.com> wrote:
But here comes the part that I need help with. If the loaded file uses require() to use a module that I wrote that has a function called Prompt(). The modules name is Utils. All it does is display a message and then read from the console for the response from the user and return the users input. So I want to overwite this function to GUIify it. But I don't want this application to rely on this module that I wrote. So I want to just overwrite it like I did with print().
But making a table named 'Utils' and then adding a function in that namespace called Prompt() doesn't seem to do the trick. How can I make this work in the GUI without needing to rely on the actual module?
Hope this helps explain the problem a bit.
--
Regards,
Ryan