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

Function Definitions

      A function definition looks like:

function name ( formaltex2html_wrap_inline15496, formaltex2html_wrap_inline15498, tex2html_wrap_inline15512 ) body
  The keyword function may be abbreviated func. We look at each part of this definition in turn below.

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



Thu Nov 13 16:44:05 EST 1997