Path: chuka.playstation.co.uk!news From: "Chris Wallace" Newsgroups: scee.yaroze.freetalk.english Subject: Re: how to make my code crash-proof? Date: Wed, 20 Feb 2002 18:01:04 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 8 Message-ID: References: <01c1ba1b$e134c5e0$4d8a933e@pal-s-omnibook> NNTP-Posting-Host: host217-35-23-109.in-addr.btopenworld.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 I know very little, so feel free to ignore me.. but on divide errors, would it not be enough to ensure that any 0 values being passed to a divide are incremented? I'm guessing you want something which checks it a bit deeper. Divides by 0 produce an infinite value, could you check for these somewhere? I dont know.. i think ill go sleep..