View Full Version : Summing numbers

01-24-2006, 05:39 PM
Sorry probably a very simple question but could somebody please look at the following piece of javaScript and explain to me what the ++ does, I know it is used for summing numbers but what does it mean?

for (count = 1; count <= biggestNumber; count++)

I am only starting out in javaScript so bear with me.

Cheers Stu

01-24-2006, 05:40 PM
The count++ increments count by 1 until count is less than or equal to whatever value biggestNumber contains.

01-24-2006, 06:33 PM
Thanks for your help