Bit-fields within bigger variables is something I do like in C. In C this is done by a syntax similar to defining structs (= records).
IMHO this is a good idea. In fact it would be nice to be able to create (packed) records that contain an arbitrary count of variables each using an arbitrary count of bits. Sometimes a problem: In C it is implementation dependent at what position in such a struct the bits of each variable is allocated. So communicating such data with partners needs additional attention. (Usually such a struct is filled high bit first with "high-byte first" archs and low bit first with "low-byte first" archs.) -Michael ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

