Arrays

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

Arrays

Céline Hauzy
Hello,

I've got a problem with Array in imageJ macro. I create an Array with the
newArray() function then I fill up the Array with a "for" loop . When I
print the Array with a "for" loop, only the last row is OK, all the other
rows have 0 values. It seems that as I fill up the Array the previous data
are erased. How can we fill up the Array correctly ?

thanks a lot in advance
Sincerely
Céline

--
Céline Hauzy
"Biodiversité et fonctionnement des écosystèmes"
Laboratoire Bioemco UMR7618
46 rue d'Ulm
75005 Paris
tel : 01 44 32 38 78
fax : 01 44 32 38 85
Reply | Threaded
Open this post in threaded view
|

Re: Arrays

John Visosky
Send your code.

----- Original Message -----
From: "Céline Hauzy" <[hidden email]>
To: <[hidden email]>
Sent: Sunday, October 23, 2005 11:51 AM
Subject: Arrays


> Hello,
>
> I've got a problem with Array in imageJ macro. I create an Array with the
> newArray() function then I fill up the Array with a "for" loop . When I
> print the Array with a "for" loop, only the last row is OK, all the other
> rows have 0 values. It seems that as I fill up the Array the previous data
> are erased. How can we fill up the Array correctly ?
>
> thanks a lot in advance
> Sincerely
> Céline
>
> --
> Céline Hauzy
> "Biodiversité et fonctionnement des écosystèmes"
> Laboratoire Bioemco UMR7618
> 46 rue d'Ulm
> 75005 Paris
> tel : 01 44 32 38 78
> fax : 01 44 32 38 85