FOR NEXT(編號:4334)

全人是vb初初哥,想問問大家,for next如何使用,
例如
sum=0
for i=1 to 100
sum=sum+1
next i
為甚麼sum=sum+1???
請各位解答