/CODE>
 (see <A HREF="Memory_c.htm#60044"> MemModifyFlags() is used to change a block's HeapFlags record. It takes three arguments: The handle of the block, the HeapFlags to turn on, and the HeapFlags to clear. It returns nothing. Not all HeapFlags can be changed after a block is created</A>
).</P>


<H2 CLASS="HeadingC">
<A NAME="42030">
 </A>
Maximizing Free Space in Memory</H2>
<P>
Moveable, swapable, and discardable blocks are allocated from the top of the heap using a first-fit method. Fixed blocks are