0
Xintruder's Avatar, Join Date: Dec 2008
Go4Expert Member
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?
0
neo_vi's Avatar, Join Date: Feb 2008
Invasive contributor
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.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Nomination for article of the month for December 2008 Started.
0
oyeLucky's Avatar, Join Date: Dec 2008
Go4Expert Member
Nice Article Bro ! Thank you.
0
sarah_9's Avatar, Join Date: Jan 2009
Newbie Member
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