nraonrao
 
NRAO Home > CASA > CasaRef
componentlist.getlabel - Function

1.4.2 Get the label of the specified component
Description

The getlabel function returns the label associated with the specified component. The label is an arbitrary text string that can be used to tag a component.

Arguments





Inputs

which

An index specifying which component. An integer between 1 and the list length

allowed:

int

Default:

Returns
string

Example

      include ’componentlist.g’  
      cl := componentlist(’crux.cl’);  
      print cl.getlabel(1);  
    

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search

Updated daily during alpha development.