Login  Register

ImageJ Macro List.get("Area") return value as a String

Posted by LIM Soon Yew John (IMB) on Mar 10, 2017; 11:07am
URL: http://imagej.273.s1.nabble.com/is-global-scale-not-working-on-Fiji-Macro-running-on-PC-tp5018267p5018273.html

Dear All,

When I wrote the ImageJ (2.0.0-rc59/1.51j; java 1.8.0_66 [64-bit]) macro below, it return my area result as a string. Is this a bug or normal behaviour?

List.setMeasurements;
a = List.get("Area"); print(a);
a = a / a; print(a); //will return an error message that say statement cannot begin with "/"

Best Regards,
John

Confidentiality Notice: This e-mail and any attachments are only for the use of the intended recipient and may be confidential and/or privileged. If you are not the recipient, please delete it or notify the sender immediately. Please do not copy or use it for any purpose or disclose the contents to any other person as it may be an offence under the Official Secrets Act.
________________________________________
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html