Originally Posted by Dino total is never initialized to zero. Ah, good point, so the result may well be completely rubbish then... ;-) - Mats
Compilers can produce warnings - make the compiler programmers happy: Use them! Please don't PM me for help - and no, I don't do help over instant messengers.