Hello,
I need to group 8 pins into one port of 8 bits and refer to this new port with an alias i.e.
pins 4~7 and 10~13 = MyNewport, and be able to perform some logic i.e.
You can create an array for the pins, and initialise it according to the pins you wish to use.
As for the logical methods, it shouldn't be to hard to implement them yourself...