MathGroup Archive 2007

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

Search the Archive

Re: Re: Symbol name extraction

   Daniel and Istvan,

          Very clever. This will be extremely helpful to me: thanks for 
posting this discussion!

                - Curtis O.

zac wrote:
> That's crystal clear, using this information
> I've created the function that satisfies my taste:
> Attributes[PrintSymbolValue] = {HoldAll, Listable};
> PrintSymbolValue[sym_Symbol] := SymbolName[Unevaluated[sym]] <>
>     " = " <> ToString[FullForm[sym]] <> ";\n";
> applied to a list of variables. A final StringJoin concatenates the
> output list of strings.
> Thank you Daniel.
> Istvan

Curtis Osterhoudt
gardyloo at
PGP Key ID: 0x088E6D7A
Please avoid sending me Word or PowerPoint attachments

  • Prev by Date: GenerateConditions->False gives fine result!
  • Next by Date: GNU readline ability in the front end
  • Previous by thread: Re: Re: Symbol name extraction
  • Next by thread: GenerateConditions->False gives fine result!