Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Remove Symbolize

  • To: mathgroup at
  • Subject: [mg116124] Re: Remove Symbolize
  • From: "Dave Snead" <dsnead6 at>
  • Date: Thu, 3 Feb 2011 05:27:14 -0500 (EST)
  • References: <ihu8ku$1rj$> <ii0ptm$j35$> <> <ii37mh$415$> <>

Hi Maxim,

Your solution seems to do the trick.

Dave Snead

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

On Jan 30, 2:32 am, "Dave Snead" <dsne... at> 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:

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

  • Prev by Date: Re: Plot artifact of NDSolve result
  • Next by Date: Re: Read last expression in a file?
  • Previous by thread: Re: Mixing optional parameters and options
  • Next by thread: How to export a large Grid/Table on a single PDF page?