No you showed this code before:
Code:
for i = 0 to 10
if i <> 2 then
' some code
else
if ( name = 'test' ) then
' same code as above
else
i = i + 1
end if
end if
next
which is not the same as:
Code:
for i=0 to 10
if i<>2 then
'Process code
else
if name="test" then
'Process code
end if
end if
next
Notice i don't have the i = i + 1 which means you would be effectively skipping numbers in the loop...