09-16-2005, 09:49 PM
Quote:.......The maximum value for MOD is the maximum value of the data types of the variables (or numbers) used with it. For LONG, it is &h7FFFFFFF (the hex is easier to remember, but in decimal it is 2,147,483,647). If there was a way to use arrays, a limit wouldn't be as noticeable.Not quite.
I set up a test with the number DIMed as DOUBLE. When the input number was equal to 2,147,483,647 an overflow error was issued.
*****