Re: FVWM: Variable assignment and use

From: Thomas Adam <thomas_adam_at_bonbon.net>
Date: Tue, 29 Jun 2004 16:04:25 +0100

On Tue, 29 Jun 2004 10:11:59 -0500
Rusty Phillips <rustyp_at_freeshell.org> wrote:

> Tavis, with your approach to that problem you're going to be filling
> the memory with useless variables, won't you? I mean, when you're
> finished with them, and have closed the window they describe, they're
> still there since there's no way to unset a variable (there isn't is
> there?).

You can with FvwmEvent do something like:

DestroyModuleConfig FvwmEvent-somealias: *
*FvwmEvent-somealias: destroy_window FvwmFuncUnsetName

DestroyFunc FvwmFuncUnsetName
AddToFunc FvwmFuncUnsetName
+ I UnSetEnv <var>
+ I UnSetEnv <var2>

...etc

-- Thomas Adam

--
"Annie Hall leaves New York in the end. Press rewind, and Woody gets her
back again." -- "Look Inside America", Blur.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Jun 29 2004 - 10:08:27 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST