-
Hi!
Try to execute PRINT 30000 + 30000. You can use VBasic instead of QB, but result is same - Owerflow error.
But 30000 + 40000 is not so big problem...
It seems you can't to get numbers between 32767 and 62767 (?) when using lower (integer-type) numbers. - This was also the source of my problem when accessing large files; I couldn't set such position number, using any method.
Okay, you can use 40000 + 30000 + 30000 - 40000, but this is a little bit silly, isn't?
You can use a AS LONG, b AS LONG; then PRINT a + b, but this is also not so friendly method.
Does anybody know hot to remove this problem?
-
Try:
Code:
Debug.Print 30000& + 30000&
The appended & forces it to a Long.
-
Hi,
You can also use a decimal point.
Code:
debug.print 30000. + 30000.
Al.