Quote Originally Posted by Dino View Post
total is never initialized to zero.
Ah, good point, so the result may well be completely rubbish then... ;-)

-
Mats