Re: Array contents output to text or excel file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Array contents output to text or excel file

Michael Schmid
Hi Mark,

the Save Text File Demo macro is an example how to write
a text file.
   http://rsb.info.nih.gov/ij/macros/SaveTextFileDemo.txt
In your case, the loop should probably be something like
   for (i=0; i<myArray.length; i++) ....

.csv files readable by excel are essentially text files with
commas as separators:
   http://en.wikipedia.org/wiki/Comma-separated_values

Michael
________________________________________________________________

On 19 Feb 2008, at 10:15, meastwood98 wrote:

> Ive got an array with some information in and i would like my  
> program to
> output it to a text or excel file. I would prefer excel although it  
> is not
> of great importantance, the simplest method will do! Can anyone  
> help? I am
> looking for the simplest of methods as im not very experienced.
>
> Thanks,
> Mark
>