HP 3000 Manuals

Getheap and Rtnheap Procedures [ HP Pascal/iX Programmer's Guide ] MPE/iX 5.0 Documentation


HP Pascal/iX Programmer's Guide

Getheap and Rtnheap Procedures 

The procedures getheap and rtnheap are intrinsics in the Pascal run-time
library.  They are provided only for compatibility with existing source
code that was written for the MPE V operating system and only exists on
MPE/iX. If you are writing a new program, use the predefined procedures
p_getheap and p_rtnheap instead.

The procedure getheap allocates a region of heap space, and the procedure
rtnheap deallocates the region.

Syntax 

     getheap (VAR regptr  : localanyptr;
              VAR regsize : shortint;
              VAR ok     : shortint);

     rtnheap (VAR regptr  : localanyptr;
                  regsize : shortint;
              VAR ok     : shortint);



MPE/iX 5.0 Documentation