total: 0.0
foreach grade gradeblock [total: total + grade]
average: total / length? gradelist
than the (commonly used when the "structured programming" issue was
first
unleashed on the world) more primitive
100 let t = 0
110 let i = 1
120 if g(i) = -1 then 160
130 let t = t + g(i)
l40 let i = i + 1
150 goto 120
160 let a = t / i
------------------------------------------------------------------------------
I prefer:
Average expressionwhichyieldsanarrayofdata
Dick
Download NeoPlanet at http://www.neoplanet.com
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.