| .FUNCTION...END FUNCTION Statement QuickSCREENi |
|
  QuickSCREEN       Details       Example       Contents       Index |
| ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ |
| FUNCTION...END FUNCTION - a non-executable statement that declares the |
|                           name, the parameters, and the code that form |
|                           the body of a FUNCTION procedure |
| Syntax |
|   FUNCTION name [(parameterlist)][STATIC] |
|       [statements] |
|     name = expression |
|       [statements] |
|   END FUNCTION |
|     ž name, which follows the same rules as are used for naming BASIC |
|       variables, determines the data type the function returns |
|     ž (parameterlist) is one or more variables, separated by commas, |
|       that will be passed to the function when it is called |
|     ž expression is the return value of the function |
    ž Use of the keyword STATIC is a Detail |
|
See Also  DECLARE   STATIC statement   DEF FN   SUB |