[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: new here and stuck on loading and unloading a piece of code repeatedly without memory errors
- From: Guido ter Horst <g.terhorst@...>
- Date: Sun, 5 Jul 2015 21:35:26 +0200
The idea of the program is to use loadfile to load the functions as entries in the table currentPage. what I don't understand is that when I empty 'currentPage' by assigning NIL, and then loading another set of functions into the table 'currentPage', how is it possible that when I do that several times the program will crash?
The only thing I can think of is that 'currentPage' is set to nil and loaded with data again from within a function that is part of the currently available functions within 'currentPage', and it is that which is causing some problems