PAUL James wrote: >> Is there any way to define an array of pins in the Microchip C18 >> compiler? Something conceptually like: >> >> bit pins[3]; > > Wouldn't this fall into the "STRUCTURE" data type in C? You can define > a STRUCTURE of bit fields or pins. The difference is that you can use an index to identify an array element (like in loops or function arguments) but can't do that with a structure element. Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist