bas7qck.hlp (Table of Contents; Topic list)
DEF FN Statement
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
Syntax 1
  DEF FNname[(parameterlist)] = expression
 
Syntax 2
  DEF FNname[(parameterlist)]
     [statementblock]
  FNname = expression
     [statementblock]
  EXIT DEF]
     [statementblock]
  END DEF
 
    ■ The FUNCTION statement offers a more straightforward way to define
      and name a new function.
    ■ See Details for the meaning of the DEF FN arguments.
 
See Also    STATIC