◄Contents► ◄Index► ◄Back► ────────────────────────────────────────────────────────────────────────────── Ends a program, procedure, block, or user-defined data type. END [{DEF | FUNCTION | IF | SELECT | SUB | TYPE}] ■ 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 SUB procedure. ■ TYPE Ends a user-defined data type definition. ■ If no argument is supplied, END ends the program and closes all files. Example: PRINT "Game over." END See Also ◄DEF FN► ◄FUNCTION► ◄IF...THEN...ELSE► ◄SELECT CASE► ◄STOP► ◄SUB► ◄SYSTEM► ◄TYPE►