Macro function File.getName(path)

Posted by Gabriel Landini on
URL: http://imagej.273.s1.nabble.com/Macro-function-File-getName-path-tp3703492.html

Hi,

I don't understand what the File.getName(path) function does.
It says in the help page:

   File.getName(path) - Returns the name of the specified file or directory.

but the path or file should already be known (otherwise how does one call this
function?).
Obviously I am missing something...

Thanks,

Gabriel