while loop problem in c shell script

Hi all,
i write a script c shell

set i = 1
while ( $i <= $#array )
  echo "$array[$i]"
  @ i++
end

i want to set it to i = i +2 in that statement . Can anybody help me?

---------- Post updated at 02:46 PM ---------- Previous update was at 02:35 PM ----------

anybody not how to solve it???

use the below i think that might help

i=`expr $i+2`

This will work fine.

set i = ` expr $i + 2 `