Thanks for yor quick response,
Ok, I see it is necessary. But does ++i means increment in ones?
When we did for loops in vb.net, I remember doing something like:
var i as integer
for i = 0 to 10 step one
step one meant to increment by ones. I asked my instructor he said if I had step 2, it will increment in two (ie possibly half of the total number of steps if I had step 2). I have no idea why would someone increment in two or more steps. Why not makes the steps lesser instead. So step one in vb.net = i++ j/script?
|
Go4Expert Member
|
![]() |
| 28Dec2008,11:30 | #11 |
|
Invasive contributor
|
![]() |
| 28Dec2008,15:21 | #12 |
|
i++ increments the variable only once. if u need to step up by 2, use i=i+2 in the place of i++. or u can also use i+=2.
|
|
Go4Expert Founder
|
![]() |
| 6Jan2009,12:26 | #13 |
|
Go4Expert Member
|
|
| 12Jan2009,21:29 | #14 |
|
Nice Article Bro ! Thank you.
|
|
Newbie Member
|
|
| 5Feb2009,12:53 | #15 |
|
Hello,
JavaScript is very strong language, if any one is really interested in website development, then he has to learn JavaScript properly, though it is not complete language, but very useful in web development. Regards, sarah_9 Website Development Company India infoseeksoftwaresystems |



