SetZone
To change the current heap zone, you can use the SetZone procedure.
PROCEDURE SetZone (hz: THz);
hz
- A pointer to the heap zone to make current.
DESCRIPTION
The SetZone procedure makes the zone to which hz points the current
heap zone. Often, you use the SetZone procedure in conjunction with one of
the ApplicationZone, SystemZone, HandleZone, and PtrZone functions. For example, the code SetZone(SystemZone) makes the system heap zone current.
ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit for SetZone are
| Registers on entry |
| A0 | Pointer to new current heap zone |
| Registers on exit |
| D0 | Result code |
RESULT CODES