Login  Register

Re: function cannot make global change to variable?

Posted by George Patterson on Jun 23, 2014; 1:49pm
URL: http://imagej.273.s1.nabble.com/function-cannot-make-global-change-to-variable-tp5008371p5008372.html

Hi Lars,
Maybe you can return getTime() or lasttime from your printtimesince
function and use that to reset the lasttime variable.

lasttime=printtimesince(lasttime, "time label text");

George

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