Microsoft KB Archive/32500

= Microsoft Knowledge Base =

Use &quot;Check Arrays & Overflow&quot; Option with Arrays
Last reviewed: January 12, 1995

Article ID: Q32500

SUMMARY
For Macintosh QuickBASIC programs that use arrays, Microsoft recommends that you use the &quot;Check Arrays & Overflow&quot; compiler option. This option will ensure that any subscript-related problems will be made known to you at run time. If this option is not selected, out of bound array references are not detected.

Out of bound array references may corrupt program data, array descriptors, string descriptors, or program code. Corrupt descriptors or program code can easily produce a system hang.

If your program is mysteriously hanging or giving strange results, try recompiling with the Process Runtime Events and Check Arrays and Overflow options enabled.