On Sat, Aug 05, 2000 at 12:04:30PM +0200, Bart Lateur wrote:
> On Fri, 4 Aug 2000 10:54:16 -0500, Jonathan Scott Duff wrote:
>
> >> C<save>
> >
> >If I had my druthers, save() would be it.
>
> I'm against it. Why? Because it suggests that all it does is save the
> value for later retrieval. It does not: the value is cleared as well. It
> masks the previous global value, as if it didn't exist before.
>
> save $/ = "\n";
>
> That doesn't quite say it, does it?
You're right of course, but I don't know of any one word that
concisely and succintly means "save the current value of this
variable, clear it, and restore on exit of the current scope"
More words:
store() # put away for the duration of the scope
tuck() # Now I lay me down to sleep
hide() # I kinda like this one :-)
shelve() # probably too loaded
stow() # Just sit right back and you'll hear a tale ...
bury() # Oh my god! They've killed Kenny!
I've changed my mind; my personal favorite is now "hide"
-Scott
--
Jonathan Scott Duff
[EMAIL PROTECTED]