[Date Index] [Thread Index] [Author Index]
Re: Re: How can I use multiple filename ?
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 ? >>