Peter: > What should I do in my script to clean up before exit?
A couple of suggestions.... * Use recycle at various points -- it can reclaim memory from dead variables * I tend to break applications up into small "modules" (not in the expected REBOL sense of the word) that can be unset after use, eg: do %init-module.r ;; loads an object called init-module that has many functions init-module/do-it ;; run the initialisation -- it'll set up some global data objects unset 'init-module ;; delete all the initialisation stuff Sunanda. -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
