Hello everyone, I completely forgot how to initialize the structure's bit fields when it is created (see below). Would you please remind me how? I am using C18 compiler for 18F452. struct { unsigned Press:4; // I want to initialize this to zero unsigned Release:4; // I want to initialize this to zero } Debounce; Thanks! thomas --------------------------------- Do you Yahoo!? Exclusive Video Premiere - Britney Spears -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics