Delphi range checking is not very good in some respects. >From memory if you load a -ve number into a integer it complains that this is a range error - which in my opinion it is not. However the original use and in 95% of cases, it seems this test is passed.
I do use while debugging, however with experience I have special code to always turn range checking off on pieces of code where the range checking fails (but of course it's not actually a range error). Myles. -----Original Message----- From: Mark Howard [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 11 December 2002 6:08 p.m. To: Multiple recipients of list delphi Subject: Re: [DUG]: Range check error Yes. First thing I did. I have just noticed that the compiler options on the two projects (user versions of the same app) were set at Range Checking - ON Several projects that I have sent out recently that have not reported this error had Range Checking - OFF. This is clearly not enough to draw any conclusions from - but it may indicate something?? Mark On 11 Dec 2002 at 15:29, Jeremy North wrote: > > > > > > Have you tried running the application with their data? > > JED > > [EMAIL PROTECTED] wrote on 11/12/2002 12:51:56 PM: > > > Hi > > > > Sent a new compile of my app (D5Pro - DBISAM) to a user last week > > and it wouldn't run (Range Check Error - when starting up) so they > > went back to their previous version, compiled 6 weeks earlier. > > > > This latest compile runs on my Win2000 pro and my NT4. > > > > I thought it might be something to do with the fact that they are > > running > > > XP Pro. so I tried it on an associate's computer running XP Pro > > (same build). No problem. Have also tried compiling the app on > > that machine - same result. > > > > I have just sent a new compile to another site and they report the > > same problem, but this site is running Win 95. > > > > Anyone had this problem and can give me some pointers (before I go > > back through my version archive to identify precisely when it > > started)? > > > > TIA > > > > Mark > > > ---------------------------------------------------------------------- > ----- > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > Website: > http://www.delphi.org.nz > To UnSub, send email to: > [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web > Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > > > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the [EMAIL PROTECTED] > > ---------------------------------------------------------------------- > ----- > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/