Microsoft KB Archive/33051

= &quot;Out of Memory&quot; Using More than One CLEAR Statement =

Article ID: 33051

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft QuickBasic 1.0
 * Microsoft BASIC Compiler 6.0b
 * Microsoft BASIC Interpreter 2.0
 * Microsoft BASIC Interpreter 2.1 for Macintosh
 * Microsoft BASIC Interpreter 3.0 for Macintosh

-



This article was previously published under Q33051



SUMMARY
Using multiple CLEAR statements can generate an &quot;Out of Memory&quot; error message in Macintosh QuickBASIC programs. There should be only one CLEAR statement in a program and it should appear at the beginning of the program. Problems can arise if the program reallocates memory after large portions of the stack and heap are already being used by the program.

This information applies to Microsoft QuickBASIC Version 1.00, Microsoft BASIC Compiler Version 1.00, and Microsoft BASIC Interpreter Versions 2.00, 2.10, and 3.00 for the Apple Macintosh.

Additional query words: BasicCom MQuickB

Keywords: KB33051

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.