Re: Array contents output to text or excel file
Posted by
Michael Schmid on
Feb 19, 2008; 9:26am
URL: http://imagej.273.s1.nabble.com/Re-Array-contents-output-to-text-or-excel-file-tp3697170.html
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.txtIn 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_valuesMichael
________________________________________________________________
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
>