Login  Register

Is "debug" a reserved name?

Posted by Stein Rørvik on Feb 28, 2019; 12:24pm
URL: http://imagej.273.s1.nabble.com/Is-debug-a-reserved-name-tp5021851.html

I am trying to write this in a macro:

var debug = false;
if (debug) setBatchMode(false); else setBatchMode(true);

but receive the error message "statement cannot begin with = in line 1"

So, is the word "debug" a reserved keyword?
There is no mention of it in https://imagej.nih.gov/ij/developer/macro/functions.html

if yes, what is its intended use?

Stein

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