MathGroup Archive 1998

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

Search the Archive

Protecting from evaluation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14588] Protecting from evaluation
  • From: "William B. Marks" <bmarks at helix.nih.gov>
  • Date: Mon, 2 Nov 1998 01:50:59 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

To display variable names along with their values I can put them in
quotes first using

quote[var_] := ToString[var]
SetAttributes[quote,HoldAllComplete].

Then this works
quote[Unevaluated @ cVWGL]
cVWGL
but this fails
quote[cVWGL]
20
but since this fails
Unevaluated /@ {cVThGL, cVWGL}
{Unevaluated[900], Unevaluated[20.]}

I can't see a way to protect members of a list of variables except by
putting quotes around them by hand. Any suggestions?



  • Prev by Date: Re: Coordinates for circle
  • Next by Date: Re: Limit, Series and O
  • Previous by thread: Re: Coordinates for circle
  • Next by thread: Re: Protecting from evaluation