Bonjour Olivier, Gruss Gott Herbie,
How are you doing?
As on how a string array needs to be formatted, you can find an example within the following file:
https://imagej.nih.gov/ij/macros/examples/ArrayFunctions.txtnamely:
a1 = newArray("one", "two", "three", "four");
Take care,
Philippe
----- Mail original -----
De: "l16" <
[hidden email]>
À: "imagej" <
[hidden email]>
Envoyé: Mercredi 31 Mars 2021 15:01:36
Objet: Re: Temporal color code
Bonjour Olivier,
obviously "lutA" isn't a string array but needs to be one according to:
"Dialog.addChoice(label, items) - Adds a popup menu to the dialog, where
items is a string array containing the menu items."
I don't think that something has "changed" with respect to
"Dialog.addChoice".
Regards
Herbie
:::::::::::::::::::::::::::::::::::::
Am 31.03.21 um 12:07 schrieb olivier:
> Hell
> I have tried to use "temporal color code" today and I get a strange message on all stacks :
> Error: Array expected in line 181:
> (called from line 51)
>
> Dialog . addChoice ( "LUT" , <lutA> ) ;
>
> You can try on splitted channels on the sample "confocal series".
> Does anyone know what have changed ?
> Thanks
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html