> Arrays of bits are certainly commonly used in *my* PIC programs. I often > have to sample an input signal at a very high rate for a short interval, > such that I can't do any processing on the fly. I preinitialize an array > of bits to zero, then use a sequence like: [snip] Another method of using "arrays of bits" which can work VERY efficiently in some applications (esp. if they use lots of small arrays) is to have each array consist of one bit from each of a number of bytes (so if I declare: bit foo[12] that would allocate 12 bytes of storeage for bit-array-stuff, but if I were to say: bit foo[12],bar[8],boz[4],wow[10],googla[11],fanza[12]; bit maga[5], baga[7], ooga[10],moofie[12]; those would all fit in 12 bytes). Handling the arrays in this fashion would pose essentially no overhead in the compiled code and yet could often let space be used more effectively than otherwise possible.