NRAO Home > CASA > CASA Toolkit Reference Manual
componentlist.length - Function

1.2.1 Find the number of components in the list.


Description

The length function returns a non-negative integer that indicates how many components the list currently contains.

Arguments





Returns
int

Example

 
 
      cl.open(’crux.cl’)  
      n = cl.length()  
 

__________________________________________________________________


More information about CASA may be found at the CASA web page

Copyright © 2016 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