Mmmm.

I was trying to use then reset IF INTCON.2=1 to increment count on 'I' the VAR.

Code:
IF INTCON.2=1 THEN I = I + 1 :INTCON.2=0
I'll sleep on it (I hope it doesn't keep me awake thinking).

Dave