MathGroup Archive 2006

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

Search the Archive

Re: How can I use multiple filename ?


Hi,
It looks like the short form of: Put[expression,name], namely expression 
 >> name does work differently from the long form.
Whereas in Put[expression,name], first the variable name is replaced by 
its value and afterwards Put is called with this value, in the short 
form name is not replaced by its value, but name is taken as a literal 
file name.
If this is a bug or a feature is up to Wolfram to answer. For me it 
looks reather like a bug, because it am not able to see a benefit in 
this behaviour.
Daniel

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


  • Prev by Date: Re: How can I use multiple filename ?
  • Next by Date: Re: How can I use multiple filename ?
  • Previous by thread: Re: How can I use multiple filename ?
  • Next by thread: Re: Re: How can I use multiple filename ?