www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/28/08:50:10

Date: Wed, 28 Jan 1998 14:49:19 +0100
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Message-Id: <199801281349.OAA08955@acp3bf.physik.rwth-aachen.de>
To: rylan AT intekom DOT co DOT za (Rylan)
Cc: djgpp AT delorie DOT com
Subject: Re: Freeing static vars
Newsgroups: comp.os.msdos.djgpp
Organization: RWTH Aachen, III. physikalisches Institut B

In article <01bd2bd6$73dcfc60$LocalHost AT default> you wrote:
> Is there anyway to free static variables under DJGPP when they have
> outlived their usefulness?

Of course not. If there were, this would mean you could *dynamically*
change the size of that variable (to zero). But 'dynamic' is the exact
contradiction of 'static'. Depending on the size of that variable,
this is either no problem at all, or you should have used a dynamic
variable in the first place.


--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019