RE: Assign values to characters gen by "FromCharacterCode"
- To: mathgroup at smc.vnet.net
- Subject: [mg40614] RE: [mg40575] Assign values to characters gen by "FromCharacterCode"
- From: "David Park" <djmp at earthlink.net>
- Date: Fri, 11 Apr 2003 02:02:06 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Holger, Try Evaluate[Symbol[FromCharacterCode[97]]] = 2 FromCharacterCode returns a character. Symbol converts it to a Symbol. The lhs has to be evaluated before it is a proper Set statement. David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: Holger Brehm [mailto:bre at iwm.fhg.de] To: mathgroup at smc.vnet.net Hi there, here is a bit of confusion on how to assign values to a variable that is not given via "a=2" but rather by "FromCharacterCode[97]=2". I do know that this line is not going to work. How could one make it work (i.e. if this is possible at all)? Thanks a lot, Holger