compac(3G)compac(3G)NAMEcompac - compacts the memory storage of an object
FORTRAN 77 SPECIFICATION
subroutine compac(obj)
integer*4 obj
PARAMETERS
obj expects the object identifier for the object you want to compact.
DESCRIPTION
When you modify an open object definition (using the object editing
routines), the memory storage for the object definition can become
fragmented. A call to compac can make a fragmented object definition
occupy a continuous section of memory.
Although you can call compac to explicitly compact an object, it is
rarely necessary because a call to closeo automatically calls compac,
when the object definition becomes too fragmented. (After you edit an
object, you must always call closeo.)
Because compac, requires a significant amount of time, do not call it
unless storage space is critical and you cannot tolerate even the small
amount of fragmentation allowed by closeo.
SEE ALSO
closeo, chunks
NOTE
This routine is available only in immediate mode.
Page 1