MathGroup Archive 2000

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

Search the Archive

ToString[Hold[a]] gives Hold[a]

How to convert to string a symbol that already has a value?

One way would be to find  a wrapper for which
ToString[Wrapper[a]]   ->  a

For example
a = 3;
ToString[Hold[a]] -> Hold[a]


Bill Marks

  • Prev by Date: Re: Saving
  • Next by Date: Improvements
  • Previous by thread: Re: save notebook without output
  • Next by thread: Re: ToString[Hold[a]] gives Hold[a]