Have a look he
http://www.dicks-blog.com/archives/2004/07/23/
RBS
"Ian Gilmore" wrote in message
...
I have some data which presents active days like this NNYYYYN or any
combination of them. I am told I can store the value of all combinations in
a single integer. I have read that this can be acheived by using bitwise
comparison. Unfortunately, I have never used this so don't really
understand it without seeing a simple explanation. I know you guys are the
best so would appreciate an explanation and ideally some sample code.
Many Thanks