Hello all (Wayne?)

I want to use table columns for string flags, but I get the following problem:
When I save and reload the table, empty fields after the last flag are filled 
with"NaN". 
Explicitly setting fields to empty strings before saving does not help.

Best regards,
Norbert



tabName = "Test.csv";
Table.create(tabName);
ColA = newArray(10);
Table.setColumn("Nums", ColA, tabName);
Table.setColumn("Flags", newArray(0), tabName);
Table.set("Flags", 4, "ABC", tabName);
Table.update(tabName);
dir = getDir("temp");
Table.save(dir + tabName, tabName);
waitForUser;
open(dir + tabName);

/* output:
0
0
0
0
0       ABC
0       NaN
0       NaN
0       NaN
0       NaN
0       NaN
*/

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

Reply via email to