Re: Saving
- To: mathgroup at smc.vnet.net
- Subject: [mg21773] Re: Saving
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Thu, 27 Jan 2000 22:56:53 -0500 (EST)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <86mdn7$2ei@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
How about the following: result = 1; filename = StringJoin["f:/temp/test", ToString[i], ".asc"] /. i -> 1 Put[result, filename] Robert wrote: > > how can i create a file name in a variable in a program to save results? > > For example, > > result=1 > filename= SequenceForm["test", i, ".asc"] /. {i -> 1} > Put[result, filename] > > [doesn't work].... -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. phone 413 549-1020 (H) Univ. of Massachusetts 413 545-2859 (W) Amherst, MA 01003-4515