MathGroup Archive 1998

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

Search the Archive

Protecting from evaluation


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