home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
001-099
/
ff094.lzh
/
ModulaTools
/
ReadMe
< prev
next >
Wrap
Text File
|
1987-08-23
|
1KB
|
19 lines
Virtually all of the documentation you will need is in the definition module.
However, I have found one problem that I didn't document, in hopes that it
might one day be eliminated: the routines for creating a MenuStrip inexplicably
eat about 20K of memory (keep reading). I have checked my code several times and
am quite confident that the problem does not lie there. I suspect TDI, but that
is because I hate them, their compiler and ESPECIALLY their editor (not simply
non-functional, but actually anti-functional).
*************************** Yes, there IS hope!!! ***************************
There is a simple and easy solution to THE RIDDLE OF THE MISSING 20K: call
DestroyHeap (in module Storage) at the end of your program. Since I use NEW,
DISPOSE, ALLOCATE and DEALLOCATE for all my structure creations/destructions,
then DestroyHeap will obliterate any stray structures I (or MUCH more likely,
TDI) may have left lying around. I have yet to encounter a situation where this
didn't free all the memory used by a Modula-2 program. See, that wasn't so bad!