Well, the 23rd position of binary is the total number of answers. :)

But if you are looking for a way to store it, why not just a string of
22 characters?

On Mon, Nov 23, 2009 at 5:19 PM, Thane Sherrington
<[email protected]> wrote:
>
> I have a yes/no questionnaire that I want to fill out with every
> possible pattern of answers - there are 22 questions in total, and
> I'm trying to come up with an algorithm that will give me every
> pattern of answers, but I'm just not bright enough to do it. :)  Can
> anyone point me in the right direction?
>
> Thanks,
>
> T
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328635
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to