How to get the sum of a variable within a loop
580456Sep 26 2007 — edited Sep 26 2007Hello,
I have a variable in a loop that I'd like to be able to get a sum of when I'm done itirating thru the loops. So if the variable is:
loop 1: v = 2
loop 2: v = 1
loop 3: v = 5
I'd like to be able to get a sum of 8 at the end.