Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | synthesis | |
Module | componentmodels | |
Tool | componentlist |
Find the number of components in the list.
Synopsis
length()
Description
The length function returns a non-negative integer that
indicates how many components the list currently contains.
Returns
Non-negative integer
Example
include 'componentlist.g'
cl := emptycomponentlist();
n := cl.length();
This example creates an empty componentlist. Hence the variable
n will be zero after the length function is executed.
Next: componentlist.indices - Function
Up: componentlist - Tool
Previous: componentlist.recover - 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