"Division By Zero" Dynamic, Fixed-Length STRING*1, 64K+ Array (38069)
The information in this article applies to:
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
This article was previously published under Q38069 SYMPTOMS
A DIM statement gives the following error at run time when you
dimension a dynamic, fixed-length STRING*1 array 64K or larger (which
requires compiling with the /AH option):
"Division by zero"
STATUS
Microsoft has confirmed this to be a bug in QuickBasic Versions
4.00, 4.00b, and 4.50 and in Microsoft Basic Compiler Versions 6.00
and 6.00b for MS-DOS and MS OS/2 (buglist6.00, buglist6.00b). The
"Division by zero" error occurs both in the QB.EXE editor and in a
compiled .EXE program. This problem was corrected in Microsoft Basic
PDS Version 7.00 (fixlist7.00).
This problem does not occur with static fixed-length STRING*1 arrays,
or any static or dynamic array smaller than 64K.
Modification Type: | Minor | Last Reviewed: | 1/9/2003 |
---|
Keywords: | KB38069 |
---|
|