I am a newbie at JSL and I know I am missing something simple...
My code is:
For(i = 1, i<= NItems(x), i++,
rowNum = totByBox << Get Rows Where( :BOXID == x[i]);
xlist[i] = totByBox:FreeSpace[rowNum];
);
show(xlist[1]);
New Window ("Plasmids Location",
Table Box(
Number Col Box("Box ID", nDTbyVec[0, 1] ),
String Col Box("Vector# ", nDTbyVec[0, 2]),
Number Col Box("# of Vial", nDTbyVec[0, 4]),
Number Col Box("Space Available ", xlist),
));
Where I have xlist collect numbers from a data table. When I show xlist in the console, it is:
xlist = {[34], [93]};
I think I will have to convert it to {34, 93} if I hope to add it to the Number Col Box. Is there anyway to accomplish this..?