bas7qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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