Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board

Go Back   Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board


View Single Post
Old 07-29-2015, 07:06 PM   #1
Actor
Librocubicularist
 
Join Date: Jun 2010
Location: Ohio
Posts: 10,466
Range check error

I've recently written a program that uses the BRIS comma delimited Single File. It works but about 3% of the time the program crashes with a "range check error." I've traced the problem to fields 846 .. 855 "BRIS Speed Rating." In my program this variable is an untyped integer. Using LibreOffice I've examined the data that causes the crashes. It seems to be caused because the BRIS Speed Rating goes negative. So I changed the variable to a signed integer. That should have cured the problem. It did not.

I've gotten around the problem by turning automatic range checking off. But the problem still bugs me (no pun intended). So does anyone have any ideas of how this problem might defy a cure. I've over and over my code and can find no reason that the problem should exist.
__________________
Sapere aude
Actor is offline   Reply With Quote Reply
 
» Advertisement
» Current Polls
Wh deserves to be the favorite? (last 4 figures)
Powered by vBadvanced CMPS v3.2.3

All times are GMT -4. The time now is 05:43 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 1999 - 2023 -- PaceAdvantage.Com -- All Rights Reserved
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program
designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.