MathGroup Archive 2003

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

Search the Archive

export some data to a specified file?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39685] export some data to a specified file?
  • From: liwen liwen <gzgear at Yahoo.com>
  • Date: Sat, 1 Mar 2003 22:04:53 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi;

I want to export some data to a specified file, for instance, 
Spring.txt, I use 'FileName ' as the local file name.  
    But the function I develop only export the data to a file named 
'FileName'but not Spring.txt. 
    How can I achieve this?
      
      Thanks.
    Liwen


ExportDatas[FileName_,DataToBeExport_]:=Module[{},
      (DataToBeExport>>FileName);];

In[13]:=
DataToBeExport={{0,0},{5,4}};
ExportDatas[Spring.txt,DataToBeExport]




  • Prev by Date: Re: graph
  • Next by Date: Incrementing a "For" loop - "For loop.nb" 5893 Bytes yEnc
  • Previous by thread: Output
  • Next by thread: Re: export some data to a specified file?