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.length - Function Up: componentlist - Tool Previous: componentlist.purge - Function


componentlist.recover - Function



Package synthesis
Module componentmodels
Tool componentlist


Obtain removed components.


Synopsis
recover(log)


Description
The recover function appends components to the end of the list that have been deleted with the remove function. This does not include components that were removed before the purge function was last executed.


Arguments

log Send a message to the logger
Allowed: Boolean
Default: T


Returns
nothing


Example
      include 'componentlist.g'
      cl := componentlist('crux.cl');
      cl.remove(1);
      cl.recover();
This example reads a componentlist from a table and removes the first element from the list. The recover function is then called to append the component to the end of the list. Overall the list is unchanged although the first component has been moved to the end.



next up previous contents index
Next: componentlist.length - Function Up: componentlist - Tool Previous: componentlist.purge - 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