Hi Eric,
To print on one line, just make a loop that concatenates what you want
to print in a single string using "+" before printing the whole
string, like so:
array = newArray(1, 2, 3, 4);
line = "";
for (i = 0; i < array.length; i++) {
line = line + array[i] +" ";
}
print(Line);
Christophe
On Wed, Nov 9, 2011 at 09:49, Eric Denarier
<
[hidden email]> wrote:
> Hi ImageJ users,
>
> I want to print in the log all the values of an Array, but on the same
> line. Each time the print function is used it creates a new line and I dont
> know how to avoid this. Can you help me ?
> Thanks
>
> Eric
>