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.
END Statement
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
END [{DEF | FUNCTION | IF | SELECT | SUB | TYPE}]
END [n%]
 
    ■ DEF        Ends a multiline DEF FN function definition.
    ■ FUNCTION   Ends a FUNCTION procedure definition.
    ■ IF         Ends a block IF...THEN...ELSE statement.
    ■ SELECT     Ends a SELECT CASE block.
    ■ SUB        Ends a BASIC SUB procedure.
    ■ TYPE       Ends a user-defined type definition (TYPE statement).
    ■ n%         Ends a program and returns the value of n% to the operating
                 system. If n% is omitted, a value of 0 is returned to the
                 operating system.
 
See Also    DEF FN    FUNCTION    IF...THEN...ELSE    SELECT CASE
            STOP      SUB         SYSTEM              TYPE