>>> Is there any way to define an array of pins in the >>> Microchip C18 compiler? I don't think it'd be legal C; it's essentially equivalent to having pointers to data elements smaller than bytes. Now, I've seen C code that implements things LIKE arrays of bits using macros and code: #define readpin(n) (readport() & (1<