Hi,
I'm referring to portb.1 or whatsoever as a hardware endpoint, you - as program statement, this is the main difference.
No, I'm referring to PortB.1 or whatever as an adress in "memory".

OK, that Sinclair example stores the adress of the port you're setting in the array and is not the same thing as you doing HIGH Array[1] in PBP even if it had worked.

Code:
myArray VAR BYTE[4]
myArray[0] = 2      ' Offset from PortA.0 to PortA.2
myArray[1] = 8      ' ....PortB.0
myArray[2] = 9      ' ....PortB.1
myArray[3] = 18     ' ....PortC.2

i VAR BYTE

Main:
for i = 0 to 3
    PortA.0[myArray[i]] = 1
    PAUSE 500
NEXT

FOR i = 0 to 3
    PortA.0[myArray[i]] = 0
    PAUSE 500
NEXT
Goto Main
/Henrik.