Can someone please simplify the following 2 lines of code.

Sorry, no code tags or otherwise (iPad?), but this line:

(++inCount < INLENGTH); //brackets not needed

just is stupid. It increments inCount. Period. INLENGTH don't enter in to it. The expession does have a value which is discarded, computing it is pointless and one hopes optimised away:

++inCount;

a7