NAME END Statement SYNOPSIS END [{DEF | FUNCTION | IF | SELECT | SUB | TYPE}] o DEF Ends a multiline DEF FN function definition. o FUNCTION Ends a FUNCTION procedure definition. o IF Ends a block IF...THEN...ELSE statement. o SELECT Ends a SELECT CASE block. o SUB Ends a SUB procedure. o TYPE Ends a user-defined data type definition. o If no argument is supplied, END ends the program and closes all files. DESCRIPTION Ends a program, procedure, block, or user-defined data type. Example: PRINT "Game over." END SEE ALSO DEF FN FUNCTION IF...THEN...ELSE SELECT CASE STOP SUB SYSTEM