Hi Christophe,

This bug is fixed in the latest ImageJ daily build (1.54k22). 

-wayne

> On Sep 10, 2024, at 11:46 AM, Christophe Leterrier 
> <[email protected]> wrote:
> 
> Hi,
> 
> Consider the following macro code:
> 
> lutB = getList("LUTs");
> lutC=Array.concat(newArray("Null"),lutB);
> Array.show(lutC);
> lutA = Array.concat(newArray("Null"), getList("LUTs"));
> Array.show(lutA);
> 
> The first part runs fine and displays the LUTs with an added "Null"
> element. The second part fails with the error message:
> 
> Error: Array expected in line 5:
> lutA = Array . concat ( newArray ( "Null" ) , <getList> ( "LUTs" ) ) ;
> 
> Is this behavior expected or is it a bug?
> 
> Thank you,
> 
> Christophe

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

Reply via email to