Here's one way to do it without a For() loop.
String="1,2,3,4,5,6";
list=words(String,",");
//output --> {"1","2","3","4","5","6"}
x=new table("temp", new column("c", character, values(list)), private);
:c<< data type(numeric);
m = c<< get values;
close(x, nosave);
show(m);
-Jeff