Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!UKANVAX.BITNET!MARKV From: MARKV@UKANVAX.BITNET ("MARK GOODERUM - UNIV. OF KANSAS ACS - MARKV@UKANVAX") Newsgroups: comp.lang.modula2 Subject: Re: Overloading Operators: Extension to Language Message-ID: Date: 6 Oct 89 00:41:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List Organization: The Internet Lines: 15 One other thought about dynamic allocation. You only need to allocate global variables of course, and if you do have an iterative procedure that needs lots of scratch space what about Mark and Release (although not all compilers support this kind of heap management). Other tricks I use to keep track of allocations are software stacks by pushing size and address on a stack and popping the whole stack and deallocating, or singly linked list. But MY big complaint in Modula-2 is lack of easy string support and file handling. If I have a program I want to work with several files I either have to do all the high level stuff myself or be opening and closing files left and right (now THERE is a way to slow down a machine). -Mark