Hi everyone!
I am currently writing a plugin, and I am trying to create some functions for it, and I was wondering if anyone knew why it was calling the function “stain1()” in line 3 even though I call the function in line 4?
And on a side note, does anyone know how to add pictures to an interface using the macro language?
For example, is there a way to add a logo to the plugin’s interface?
Thank you so much, I appreciate all the help and advice!
Dialog.addChoice("Antibody/Stain 1:",newArray("Olig2","NeuN"));
a1 = Dialog.getChoice();
if (a1 == "Olig2") stain1 = olig2(); else if (a1 == "NeuN") stain1 = neun(); // line 3
stain1(); // line 5