Results 1 to 5 of 5

Thread: Run time error '6' . . . Overflow

  1. #1

    Thread Starter
    Fanatic Member mikeycorn's Avatar
    Join Date
    Jun 2000
    Location
    Aliso Viejo, CA, USA
    Posts
    526
    What should I be looking for in my code when I get this message?

    ~ mikeycorn

    With over 45,000 Questions in the User Submitted Database, it's the Most Popular Quiz Creation Software on the Net:

    PEST - The Personal Exam Self-Tester

  2. #2
    Guest
    Whenever you get an error, it should highlight automatically.

  3. #3
    Addicted Member
    Join Date
    Jul 2000
    Location
    California
    Posts
    154
    you will get that error if you try to put to many numbers in a integer or some other kind variable

  4. #4
    Hyperactive Member
    Join Date
    May 2000
    Location
    Or
    Posts
    316
    Also, look for a non-terminating loop. You generally don't get an overflow error unless you have mistyped a variable (integer instead of long or double) or have a loop that has put too many characters into a variable.

  5. #5
    Addicted Member
    Join Date
    Jul 2000
    Location
    Scotland
    Posts
    184
    I find this when I am using an Integer for a loop and the loop cannot exit, the counter can exceed the space available. Or perhaps the size you need exceeds it. Long size is -2,147,483,648 to 2,147,483,647, for example and Integer is only -32,768 to 32,767.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width