qb45advr.hlp (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.
FUNCTION...END FUNCTION Statement Programming Example
  QuickSCREEN      Details     Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
FUNCTION...END FUNCTION Statement Programming Examples
 
FUNC_EX.BAS is a program file in the subdirectory ADVR_EX that illustrates
the use of the FUNCTION statement. To look at the program in the View window
and, optionally, to run the program, load FUNC_EX.BAS using the File menu's
Open Program command.
 
The program uses a recursive function (a function that calls itself) to
find the length of a string.