MathGroup Archive 2001

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

Search the Archive

FileName and Shell Command

  • To: mathgroup at
  • Subject: [mg30939] FileName and Shell Command
  • From: franc <francois.gachon at>
  • Date: Thu, 27 Sep 2001 02:17:01 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Hello !

I have a problem to copy data in files

my program is :

1            For[j=1,j<4,j++,
2                  {franc={};
3                  For[i=1,i<10,i++,
4                 {franc=Append[franc,j*i]
5                   };
6                     ] };
7                    ]

So i would like to save franc in a external file :,,

Th command i use is :

Run["cp franc$"]
(after line 6)

But mathematica ignore the $i and just save so i only keep
the last calculated (for j=3)

SO if you have a key to solve my pb, PLEASE help.

Thank you !!!!!!

  • Prev by Date: Re: EPS export problem
  • Next by Date: How To Prove The Validity Of Dividend Discount H Model
  • Previous by thread: RE: checking for a particular value in a matrix
  • Next by thread: Re: FileName and Shell Command