FIJI macro function "split" not working
Posted by
Kaiming Yin on
URL: http://imagej.273.s1.nabble.com/FIJI-macro-function-split-not-working-tp5020921.html
Dear there,
I was running FIJI on my Ubuntu 18.04 laptop and found the macro function
"split" seemed to be not working anymore. For example, in a new macro, I
wrote:
a = "ImageJ v1.52e \n Ubuntu 18.04";
write(a);
b = split(a, " ");
write(b);
write(a) worked well but write(b) ended up with an error report and debug
window shown as below:
a * "ImageJ v1.52e | Ubuntu 18.04"
b * array[5]
--- ---
Error: '[' or '.' expected in line 5:
write ( b <)> ;
Can I ask what can I do to fix my scripts please?
Thanks,
Kaiming
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html