The end command terminates the run-time portion of a BASIC or FlashBASIC program, exits the debugger, and returns control to TCL.
end
debug statement, debug command (FlashBASIC Debugger), off command (FlashBASIC Debugger)