MathGroup Archive 2003

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

Search the Archive

export some data to a specified file?


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?