Hi list,
I just have found about this code in this forum but when I tried to make it work, it seems it is not working, I am trying to keep my pins in an array to re-call them later and it seems this way is no go, so if you advice me a way to do it I'd appreciate it so much.

ilteris.

TRISC = 0
myArray var PORTC
i var byte

main:
for i = 0 to 7
myArray.0[i]= 1
myArray.0[i-1] = 0
pause 500
next
goto main