Login  Register

Re: Opening images from Different folders for stacking

Posted by Ben Tupper on Dec 29, 2008; 11:53pm
URL: http://imagej.273.s1.nabble.com/Opening-images-from-Different-folders-for-stacking-tp3694155p3694161.html

On Dec 29, 2008, at 5:05 PM, degussa wrote:

>
>
> index(-5) is outside of the 0-49 range in line 208.
> number3 = substring (list3 [k], index5, index6<)>;
> Please can anyone let me know what this error merssage implies. Thanks
>

Hi,

It implies that one of your indices (k, index5 or index6) has a value  
of -5 which is out of the allowed range of 0-49.  We can't know which  
index it is from the info you have provided.

I think you might insert...

print("k=" + k + ", index5=" + index5 + ", index6=" + index6);

... into your macro at a strategic location to help track down the  
error. I'll bet you figure it out pretty quickly from that info.

Cheers,
Ben