Hi Ilteris,

If I do remember what the manual says about pins, using the index on a 40 pin chip it will make reference to Port B and C. So index from 0 to 7 refers to Port B and 8 to 15 to port C.

So if you want to high pin PortC.0 you can address to it like this:

High PortB.0[8]

so your code should look look like this:

TRISC = 0
myArray var PORTB
i var byte

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

Hope this help.

Hans