I’ve followed Robert Haase’s excellent Fiji course and I’m a bit stuck:
I enter the following code in my IJ1 macro:
#@ int(value=25, min=0, max=100, style="slider") ratio2; print(ratio2);
I get a slider which I can manipulate to get a value (let’s say 33). If I understand the code properly, I expect the variable “ratio2” to now be defined as 33. But Fiji tells me that “ratio2” is a new undefined value and it cannot print it…
I’ve tried the other commands that begin with #@ and get the same issue: Fiji recognises the command but does not define the variables.