Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Re: How can I use multiple filename ?

  • To: mathgroup at
  • Subject: [mg67047] Re: [mg67039] Re: How can I use multiple filename ?
  • From: Bruce Miller <brucem at>
  • Date: Thu, 8 Jun 2006 04:53:09 -0400 (EDT)
  • References: <e63mff$knj$> <>
  • Sender: owner-wri-mathgroup at

This is the documented behavior. See
or the Help Browser entry for Put, the line
    expr >> filename is equivalent to expr >> "filename". ...

Bruce Miller
Technical Support
Wolfram Research, Inc.
support at

On Jun 7, 2006, at 4:10 AM, dh wrote:

> 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 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: Exporting HDF with multiple SDS
  • Next by Date: Re: Plot Sequencies of Complex Functions
  • Previous by thread: Re: How can I use multiple filename ?
  • Next by thread: Re: How can I use multiple filename ?