Re: Is "debug" a reserved name?
Posted by
CARL Philippe (LBP) on
Feb 28, 2019; 2:07pm
URL: http://imagej.273.s1.nabble.com/Is-debug-a-reserved-name-tp5021851p5021852.html
Dear Stein,
If you look within the following file:
https://imagej.nih.gov/ij/developer/source/ij/macro/Functions.java.html(which is doing the interface between the macro language and the code in
java) you will see that "debug" is used within the source code.
My best regards,
Philippe
Philippe CARL
Laboratoire de Bioimagerie et Pathologies
UMR 7021 CNRS - Université de Strasbourg
Faculté de Pharmacie
74 route du Rhin
67401 ILLKIRCH
Tel : +33(0)3 68 85 41 84
-----Message d'origine-----
De : ImageJ Interest Group [mailto:
[hidden email]] De la part de Stein
Rørvik
Envoyé : jeudi 28 février 2019 13:24
À :
[hidden email]
Objet : Is "debug" a reserved name?
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.htmlif yes, what is its intended use?
Stein
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html