Distinguishing Strings from Symbols
- To: mathgroup at smc.vnet.net
- Subject: [mg81114] Distinguishing Strings from Symbols
- From: dr DanW <dmaxwarren at gmail.com>
- Date: Thu, 13 Sep 2007 06:21:52 -0400 (EDT)
I have several notebooks where I am using short strings that might be the same as the name of a symbol; for example, "x". When these strings show up as output, I cannot tell if I am looking at a string "x" or a symbol x. Is there a way I can define a Format or alter OutputForm so strings in output always have a different look than symbols, such as appearing in red or in italics?
- Follow-Ups:
- Re: Distinguishing Strings from Symbols
- From: "Yuri Kandrashkin" <spinalgebra@gmail.com>
- Re: Distinguishing Strings from Symbols