Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15762

Re: Remove Symbolize

From "Dave Snead" <dsnead6@charter.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Remove Symbolize
Date 2011-02-03 10:27 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <iidvtt$bgt$1@smc.vnet.net> (permalink)
References <ihu8ku$1rj$1@smc.vnet.net> <ii0ptm$j35$1@smc.vnet.net> <201101300043.TAA27957@smc.vnet.net> <ii37mh$415$1@smc.vnet.net> <fb3a191a-57cb-4cb9-9303-1ec96519afa8@s28g2000prb.googlegroups.com>

Show all headers | View raw


Hi Maxim,

Your solution seems to do the trick.

Thanks,
Dave Snead

-----Original Message----- 
From: Maxim 
Sent: Tuesday, February 01, 2011 12:31 AM 
To: Dave Snead 
Subject: Re: Remove Symbolize 

On Jan 30, 2:32 am, "Dave Snead" <dsne...@charter.net> wrote:
> Hi,
>
> Is there any way to remove all of the symbols that have
> been created from the multiple use of the Symbolize command
> during a Mathematica session ?
> RemoveSymbolize["*"] doesn't work!
>
> Thanks,
> Dave

Hi Dave,

It seems that the definitions are attached to NotationMakeExpression,
so you can do something like this to clear the values of the symbols:

Cases[DownValues@NotationMakeExpression,
s_Symbol /; Context@s === "Global`" :> Clear@s, -1]

and then to clear all interpretation rules:

DownValues@NotationMakeExpression =
Take[DownValues@NotationMakeExpression, 2]

Best regards,
Maxim Rytin

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: adding a keyboard shortcut for double brackets "fizzy" <fizzycist@knology.net> - 2011-01-28 11:17 +0000
  Re: adding a keyboard shortcut for double brackets David Bailey <dave@removedbailey.co.uk> - 2011-01-29 10:24 +0000
    Re: Remove Symbolize "Dave Snead" <dsnead6@charter.net> - 2011-02-03 10:27 +0000
    Re: adding a keyboard shortcut for double brackets David Bailey <dave@removedbailey.co.uk> - 2011-01-30 00:43 +0000
    Remove Symbolize "Dave Snead" <dsnead6@charter.net> - 2011-01-30 08:32 +0000

csiph-web