Manually culling a list
- To: mathgroup at smc.vnet.net
- Subject: [mg115067] Manually culling a list
- From: ntg <ntgladd at gmail.com>
- Date: Thu, 30 Dec 2010 04:10:14 -0500 (EST)
Hello guys,
Suppose I have a longish list of items that I want to manually cull.
It seems I should be able to do something like
checkList = ({Checkbox[], #)& /@ list
Then, I could write
instanceOfCheckList = checkList
check away, and hopefully see something like
{{True, item1}, {False, item2}, ...}
which I could manipulate. But all I see is the the list of "checked"
checkboxs and items, not the consequence of checking the boxes. I can
do a FullForm on instanceOfCheckList and extract what I need via list
surgery-- but that is inelegant. I'm sure there is some magic
incantation involving Evaluate or Interpretation or Dynamic. Can you
help?
Thanks,
Tom