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►