Using Mathematica 4.1 I want to Clear the Variable OverBar[p]. I have tried
all suggestions comming from the thread: Re: Clear or remove definitions
including Subscripts but this does not work here :-(
TIA
Martin
---------------------------------------
Please remove PET to reply by email
Hi,
In[]:=OverBar[x]=.
?
Work fine for me.
Regards
Jens
Try Unset[Overbar[p]] , it should do what you want, but be aware that
Unset und Clear do not do exactly the same, but for just getting rid of
a value that you have set by
Overbar[p] = value
Unset should do the job.
Albert
Thanks for the help and reply. From the thread mention earlier I just have
the impression just to write
Overbar[p]
and not
Use Unset
Overbar[p]
One of many stupid mistakes,
Martin
"Martin Richter" <mrMI...@cbs.dk> wrote in message
news:9k8706$3kk$1...@smc.vnet.net...
Normally I clear variables before assigning values so no mistakes are made.
But the
Use Unset
Overbar[p]
only works when Overbar[p] has assigned a value otherwise you will get an
error/warning. Is there a way to avoid this, like asking if a variable is
already assigned a value.
TIA
Martin
"Martin Richter" <mrMI...@cbs.dk> wrote in message news:...
"Martin Richter" <mrMI...@cbs.dk> wrote in message
news:9kavjk$c2n$1...@smc.vnet.net...