// Creates a table named "Sine/Cosine Table" and then // makes a duplicate named "Sine/Cosine Table Copy". table1 = "Sine/Cosine Table"; Table.create(table1); for (row=0, n=0; n<=2*PI; row++, n+=0.1) { Table.set("n", row, n); Table.set("sin(n)", row, sin(n)); Table.set("cos(n)", row, cos(n)); } Table.hideRowNumbers; Table.update; table2 = table1 + " Copy"; Table.create(table2); headings = split(Table.headings(table1)); for (row=0; row