From: seebs@... (Peter Seebach) Date: 2007-05-23T19:46:01+09:00 Subject: Re: storing boolean flags in numbers In message , Sebastian probst Eide writes: >I basically just need a way to read the different values. I'll try to >extend it myself so I can read any given number of flags myself. Just >need to understand how to read and set the flags! You're looking for "bitwise operators". Experiment with "5 & 4" or "1 | 4". -s