Re: string + variable order
- To: mathgroup at smc.vnet.net
- Subject: [mg22100] Re: [mg22083] string + variable order
- From: BobHanlon at aol.com
- Date: Mon, 14 Feb 2000 02:03:51 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Table["m = " <> ToString[i], {i, 0, 5}] {"m = 0", "m = 1", "m = 2", "m = 3", "m = 4", "m = 5"} Bob Hanlon In a message dated 2/13/2000 2:39:44 AM, naum at cava.physics.ucsb.edu writes: >I have a string, call it "m" and I want to write output that reads m=i >where i is a variable. if, say i=5 I want to write m=5, but if I try to >do >this by writing "m="i Mathematica outputs 5a= . How can I get around >this. >