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


next up previous contents index
Next: Formal Arguments and Default Parameters Up: Coding Previous: Standard Class Member Functions

The Order of Function Arguments

Functions shall be declared so that their arguments (parameters) appear in this order: output parameters first; input/output parameters next; input parameters last.6.18 Functions which return only one value should usually use the function's return-value to return that value, rather than add an additional output parameter to the parameter list. If a function modifies its single argument in place, then that argument is best understood as an input/output argument.6.19
next up previous contents index
Next: Formal Arguments and Default Parameters Up: Coding Previous: Standard Class Member Functions   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
2004-08-30