Same Access Speed for Static, Dynamic Arrays If Debug Is On (40190)
The information in this article applies to:
- Microsoft QuickBASIC 4.0, when used with:
- the operating system: MS-DOS
- Microsoft QuickBASIC 4.0b, when used with:
- the operating system: MS-DOS
- Microsoft QuickBASIC 4.5, when used with:
- the operating system: MS-DOS
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.0
This article was previously published under Q40190 SUMMARY
The code shown below demonstrates that the access time for an array is
not dependent upon whether the /AH option is used. Furthermore, a
static array requires the same amount of access time as a dynamic
array when executed from within QB.EXE or when compiled with the debug
(BC /d) option. Static-array access is faster than dynamic-array
access when compiled without the debug (BC /d) compiler switch.
This information applies to QuickBasic Versions 4.00, 4.00b, and 4.50,
Microsoft Basic Compiler Versions 6.00 and 6.00b for MS-DOS and MS
OS/2, and Microsoft Basic PDS Version 7.00 for MS-DOS and OS/2.
Modification Type: | Minor | Last Reviewed: | 1/9/2003 |
---|
Keywords: | KB40190 |
---|
|