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.selected - Function Up: componentlist - Tool Previous: componentlist.select - Function


componentlist.deselect - Function



Package synthesis
Module componentmodels
Tool componentlist


Unmark components in the list


Synopsis
deselect(which)


Description

The deselect function is used to remove the ``selected'' mark from specified components in the list. This function wiil be used in conjunction with the planned graphical user interface and no other functions in the componentlist will behave differently if a component is marked as ``selected'' or not.

Components are not selected when the list is initially read from disk or when a new component is added to the list using the simulate function. Deselecting a component that is already deselected is perfectly valid and results in no change.



Arguments

which A vector of indices
Allowed: Indices must be between 1 and the list length
Default: no default


Returns
nothing


Example
      include 'componentlist.g'
      cl := componentlist('crux.cl');
      cl.select([1,3]);
      cl.deselect([2,3]);
This example reads a list from disk. After the deselect operation only the first component is still selected.



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