Link Boolean to array index?

Thanks for your reply. I have spent time working through the example and I am going in the right direction.