JSL: make check box in loop<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Hello guys,
I'm learning JSL recent days , but come across many problems , one of them is like this:
see I have 3 names stored in a table, I want to put these names into a window with check box infront of each name:

I can make it by the script below:
/* script 1 */
x1="Name1";
x2="Name2";
x3="Name3";
New Window("Hi",
y1=Check Box(eval(x1)),
y2=Check Box(eval(x2)),
y3=Check Box(eval(x3))
);
how can I do it in loop, since it may have thousands of names in future.
thanks!
Re: JSL: make check box in loop<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />, problem soved,
First, get list of all names: list=column_name[1:N Rows]; then make them into check box: new window("hello", var=check box(list));
done :-).