and yet another solution.
In this case, I don't get rid of the quotes, I just use the list item as a number rather than a string.
new window("", modal,
ht = checkbox({"1","2"}),
Buttonbox("Ok",
get = ht << get selected();
)
);
sitenum ={};
Insert Into( sitenum, get);
print(sitenum);
site=num(sitenum[1]);
print(site);
JMP Systems Engineer, Health and Life Sciences (Pharma)