View Single Post
 
Old 07-18-2016, 01:21 PM
Cosmo Cosmo is offline Windows Vista Office 2007
Competent Performer
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default Occasional 'Overflow' error in constant declaration

I have a project that occasionally throws an overflow error wile I am testing it, but it doesn't make any sense. Sometimes it works, then it will start throwing an error, even though the value hasn't been altered. The value is a constant, which hasn't changed, and is well within the variable type's range. example:

Quote:
Private Const constVersion as Single = 3
Once i get the error, I can't run the project, and often it continues even after a restart.

If I change the value (e.g. to a '4'), it works again. But then the error eventually comes back later, and if I change it back to the previous value, then it works again.

Is there possibly something corrupt in my project?
Reply With Quote