From: Sebastian probst Eide Date: 2007-05-23T19:51:23+09:00 Subject: Re: storing boolean flags in numbers > You're looking for "bitwise operators". > > Experiment with "5 & 4" or "1 | 4". > > -s Great, thanks -- Posted via http://www.ruby-forum.com/.