Function Parameters

Sometimes the terms function argument and function parameter are used interchangeably. In Shang language, they are different. Apart from input and output arguments, a function may have a number of parameters. These are attributes of the function that can be used to modify the behavior of the function after the function is created. A parameterized function can be viewed as either a family of functions, from which one can pick given the parameter value, or a function with a state that can be modified.



Subsections

oz 2009-12-22