Message-Id: <3.0.5.32.19980205125943.007b3180@math.amu.edu.pl> Date: Thu, 05 Feb 1998 12:59:43 +0100 To: djgpp AT delorie DOT com From: Maciej Radziejewski Subject: Re: Freeing static vars In-Reply-To: <199802050138.RAA05569@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: bulk At 17:38 98-02-04 -0800, Nate Eldredge wrote: >At 05:07 2/4/1998 +0200, S. M. Halloran wrote: >>> >>> Rylan wrote: >>> > > Is there anyway to free static variables under DJGPP when they have >>> > > outlived their usefulness? >>> > (cut) > Perhaps it is too obvious to write, but isn't this accomplished in C++ by defining a local scope and declaring the variables inside it? The variables will be destroyed upon leaving the local scope. Maciej.