// Array using Results Window in IJ script
// Jean-Christophe Taveau

// Clear the Log window
print("\\Clear");

//  Read and display the data in the Log window

for (i=0;i<nResults;i++)
{
  nfaces=getResult("faces",i);
  nedges=getResult("edges",i);
  print("The polyhedron #" + i + " has " + nfaces + " faces and " + nedges + " edges.");
}

exit();