Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg67047] Re: [mg67039] Re: How can I use multiple filename ?
  • From: Bruce Miller <brucem at wolfram.com>
  • Date: Thu, 8 Jun 2006 04:53:09 -0400 (EDT)
  • References: <e63mff$knj$1@smc.vnet.net> <200606070910.FAA23573@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

This is the documented behavior. See
http://documents.wolfram.com/mathematica/functions/Put
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 wolfram.com
http://support.wolfram.com/



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 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: 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 ?