In Hitech C, is it possible to access the same variable as two different types in C, specifically bits and bytes ? =46or example I want some bit variables for various option flags, but want to access them all as a single byte when saving/loading them to eeprom. Can unions be used to do this ?=20 =20 -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads