Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Partial Differential Equations
  • Next by Date: CORRUPTED NOTEBOOKS
  • Previous by thread: Re: Saving
  • Next by thread: Re: Saving