Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: componentlist.recover - Function Up: componentlist - Tool Previous: componentlist.remove - Function


componentlist.purge - Function



Package synthesis
Module componentmodels
Tool componentlist


Permanently delete removed components.


Synopsis
purge()


Description

The remove function deletes components from the list but does not remove them from memory. They remain accessible and can be obtained with the recover function. The purge function frees up the memory occupied by the removed components. You cannot use the recover function to obtain the removed components after the purge function has been called.



Returns
nothing


Example
      include 'componentlist.g'
      cl := componentlist('crux.cl');
      cl.remove(1);
      cl.purge();
This example reads a componentlist from a table and removes the first element from the list and then frees up the memory associated with the removed component.



next up previous contents index
Next: componentlist.recover - Function Up: componentlist - Tool Previous: componentlist.remove - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15