How to CLEAR Maximum Amount of Data Space; Heap Space (32327)
The information in this article applies to:
- Microsoft QuickBASIC 1.0
- Microsoft BASIC Compiler
- Microsoft BASIC Interpreter for Apple Macintosh 1.0
- Microsoft BASIC Interpreter for Apple Macintosh 1.01
- Microsoft BASIC Interpreter for Apple Macintosh 2.0
- Microsoft BASIC Interpreter for Apple Macintosh 2.1
- Microsoft BASIC Interpreter for Apple Macintosh 3.0
This article was previously published under Q32327 SUMMARY
The CLEAR statement can be used to set the maximum amount of data
space that a Macintosh BASIC program can use. This information applies
to the Microsoft QuickBASIC Compiler Version 1.00, BASIC Compiler
Version 1.00, and BASIC Interpreter Versions 1.00, 1.01, 2.00, 2.10,
and 3.00 for Apple Macintosh.
The program below sets the maximum amount of data space that can be
safely allocated given a set heap space size. The variable heap&
should be set to the amount of heap space desired. About 5K serves as
a minimum amount for heap space; however, because many programs using
ROM routines or system resources require more heap space, it is
recommended to use between 50K to 100K for such programs.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB32327 |
---|
|