Symbol name extraction
- To: mathgroup at smc.vnet.net
- Subject: [mg73705] Symbol name extraction
- From: "zac" <replicatorzed at gmail.com>
- Date: Sun, 25 Feb 2007 04:34:12 -0500 (EST)
Dear Group, I have to write a list of parameters to a file, in string format. In the first shot, I've tried something like this: a = "x"; b = 0; c = {1, 2, 3}; printSymbol[vars__] :=StringJoin[Map[(SymbolName[#] <> " = " <> FullForm[#] <>";\n") &, {vars}]]; printSymbol[a, b, c] but it fails to recognize symbol names. Any suggestion? thanks in advance Istvan Zachar
- Follow-Ups:
- Re: Symbol name extraction
- From: "厉正吉" <zhengji.li@gmail.com>
- Re: Symbol name extraction