MathGroup Archive 2011

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

Search the Archive

Re: Remove MakeExpression settings

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118559] Re: Remove MakeExpression settings
  • From: David Bailey <dave at removedbailey.co.uk>
  • Date: Tue, 3 May 2011 05:44:21 -0400 (EDT)
  • References: <ipm2f1$58n$1@smc.vnet.net>

On 02/05/2011 11:53, Peter Breitfeld wrote:
> I made some settings using MakeExpression and MakeBoxes. Suppose I use
>
> beautyOut[a_]:=MakExpression[...]
>
> I can find these definitions in Definition[MakeBoxes] and
> Definitions[MakeBoxes].
>
> Sometimes I want to switch off these definitions. The only way I found
> is to use Quit.
>
> My question:
> Is it possible, to remove the definitions made from the set of
> definitons of MakeExpression and Makeboxes?
>
> Thank you
> Peter
One possibility is not to remove them but activate/deactivate them based 
on a global variable

mySwitch=True;

MakeExpression[...,StandardForm]:=Module[.............]/;mySwitch;

Set up this way, they can be activated/deactivated at will.

David Bailey
http://www.dbaileyconsultancy.co.uk



  • Prev by Date: Re: Please Help Eliminate My Ignorance
  • Next by Date: Error bars
  • Previous by thread: Remove MakeExpression settings
  • Next by thread: Re: Remove MakeExpression settings