'for' looping problem

if thisPin is 7 then it should change pin 9 according to the array and the line 'digitalWrite (digiPins[thisPin], HIGH); '

int digiPins[] = {
  2,3,4,5,6,7,8,9,10,11,12,13};