|
From: Dieter J. <die...@t-...> - 2008-03-28 19:23:54
|
Dear listmembers,
is there any means to delete a variable you are using in a script?
Say, you have the variable
L=<somevalue>
at the beginning of a gnuplot - scriptfile. You reach the end of this file and
you would like to say
unset L (but this definitively does not work)
is there any means to achieve this? The reason why I am asking is the feature
of emacs-gnuplot mode and octave to keep an open gnuplot session. If you have
some condition like
if (exists (L)) <do something>
in your script, this only works the very fist time you source the script,
because from then on the variable is defined.
Maybe someone has a workaround, I did not find one, maybe there's a way to
delete the variable and I didn't find either.
Thanks for looking into this,
take care
Dieter Jurzitza
--
-----------------------------------------------------------
|
\
/\_/\ |
| ~x~ |/-----\ /
\ /- \_/
^^__ _ / _ ____ /
<°°__ \- \_/ | |/ | |
|| || _| _| _| _|
if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
-----------------------------------------------------------
|