Antwort: Re: "Static" macro variables?
Posted by
Joachim Wesner on
Oct 28, 2006; 5:39pm
URL: http://imagej.273.s1.nabble.com/Need-a-plugin-to-read-nd2-files-in-ImageJ-tp3701161p3701164.html
Hi Michael,
Oh, I didn“t know that using "var" makes the difference!
I will try this, thanx a lot!
Joachim
Michael Cammer
<
[hidden email] An:
[hidden email]
.EDU> Kopie: (Blindkopie: Joachim Wesner/DEWET/LMSCentral/Leica)
Gesendet von: Thema: Re: "Static" macro variables?
ImageJ Interest
Group
<
[hidden email]
.GOV>
27.10.2006 19:59
Bitte antworten
an ImageJ
Interest Group
If you set global variables and then don't reload the macro, the
value from the last run is saved. For instance:
var a;
a = getNumber(a,a);
print (a);
At each run it will remember the value of a from the previous run.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________