[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
HeapPtr                  Current Heap Pointer

 HeapPtr                                                 Current Heap Pointer

    Predefined variable pointing to current top of heap. As memory is
    allocated dynamically (via New) or deallocated (via Release or
    Dispose), HeapPtr contains the current top-of-heap address. This is a
    32-bit value; to get the segment and offset values, use the functions
    Seg and Ofs.

  -------------------------------- Example ---------------------------------

           Writeln('heap = ',Seg(HeapPtr^),':',Ofs(HeapPtr^));

See Also: Seg Ofs New Mark Release ConstPtr
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson