Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: Manipulating Agents Up: Predefined Functions and Variables Previous: eval Function

Manipulating Variable Argument Lists

Three functions are available for manipulating variable argument lists. The first is num_args(...), which returns the number of arguments with which it was invoked, after first expanding any ellipsis (...) arguments. The second is nth_arg(n, ...), which returns its n'th argument, numbering n itself as 0. The third is missing( ), which returns a vector with T in each element that corresponds to a missing parameter and F elsewhere.

(See § 6.4.4 and § 6.5, for a full discussion of these functions.)


next up previous contents index
Next: Manipulating Agents Up: Predefined Functions and Variables Previous: eval 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