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


next up previous contents index
Next: Function Names Up: Functions Previous: Simple Examples

Function Definitions

A function definition looks like:

function name ( formal1, formal2, ... ) body
The keyword function can be abbreviated func. Each part of this definition is discussed below.

Function definitions are expressions; they can occur anywhere an expression can. In particular because expressions are also statements, a function definition can also occur anywhere a statement occurs.


next up previous contents index
Next: Function Names Up: Functions Previous: Simple Examples   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