MathGroup Archive 2006

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

Search the Archive

Re: How can I use multiple filename ?


bar at ANTYSPAM.ap.krakow.pl schrieb:
> Hi , 
>  When I try :
> For[i=1,i<10,
>     name="a"<>ToString[i];
>     i>>name;
>     i++];
> 
> it doesn'w work
> 
> Could  You help me ?
> 
 From the help:
expr >> filename is equivalent to expr >> "filename".

So using Put instead of >> works as expected:
In[1]:=
For[i=1,i<10,i++,name="a"<>ToString[i];
     Put[i,name]];
!!a7
 From In[1]:=
7

hth
   Peter


  • Prev by Date: Plot Sequencies of Complex Functions
  • Next by Date: Mathematics Packages
  • Previous by thread: Re: How can I use multiple filename ?
  • Next by thread: Re: How can I use multiple filename ?