MathGroup Archive 2000

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

Search the Archive

Re: Saving


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