[Oberon] Unloading a project
Douglas G. Danforth
danforth at greenwoodfarm.com
Mon Dec 24 22:44:38 CET 2012
On 12/23/2012 9:02 AM, Aubrey.McIntosh at Alumni.UTexas.Net wrote:
> There is a command, System.Free, that will unload a module. Normally
> it is not used, only when debugging a module.
> This is really powerful. You can use everything in the system as it
> is, while unloading only 1 module (and any modules that call it).
In BlackBox, for my own convenience, I wrote a module called MyProject
what allows me to specify a single root module from which I can compile
all dependent modules and unload all dependent modules. This is useful
if one modifies a module somewhere in the hierarchy and then needs to
test the result (hence all modules need to be unloaded). MyProject
scans the IMPORT lists of all modules starting at the root. It excludes
BlackBox system modules.
More information about the Oberon