qck.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
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Ends a program, procedure, statement block, or user-defined data type.
 
    END [DEF | FUNCTION | IF | SELECT | SUB | TYPE | n%]
 
    ■ DEF          Ends a multiline DEF FN function definition
 
    ■ FUNCTION     Ends a FUNCTION procedure definition
 
    ■ IF           Ends an IF...END IF or IF TYPEOF statement
 
    ■ SELECT       Ends a SELECT CASE block
 
    ■ SUB          Ends a SUB procedure
 
    ■ TYPE         Ends a user-defined data type definition
 
    ■ n%           Sets the MS-DOS error level variable used in batch files
                   or non-Visual Basic programs; untrapped errors return a
                   value of -1
 
 See Also
    DEF FN Statement                 FUNCTION Statement
    IF...END IF Statement            SELECT CASE Statement
    STOP Statement                   SUB Statement
    SYSTEM Statement                 TYPE Statement