Making and using macros with arguments
Posted by Bob Loushin on Dec 03, 2010; 12:38pm
URL: http://imagej.273.s1.nabble.com/Making-and-using-macros-with-arguments-tp3686300.html
According to the manual for writing macros for ImageJ, I can define a function in the same macro file, and the macro can call it. The function can take arguments, which the macro can pass to it. But what if the function itself is general/useful/reusable enough to be a macro in its own right? In other words, can one write a macro that takes in arguments? If so, what is the syntax for writing the macro, and what is the syntax for calling it? I didn’t find anything in the manual about this possibility, but I may have missed it.
Thanks