Ends program execution and returns to calling program, if any. If the program was run from the homescreen, it quits and displays "Done."

This is different from Stop, as Stop will return to the homescreen regardless of caller, while Return will cause the code to return to the caller, only returning to the home screen if the program wasn't called by another program.

Location Edit

  • PRGM
  • CTL
  • E:Return

Example Edit

:Input "EXIT? (Y/N)",Str1
:If Str1="Y"

This program will ask the user if they want to exit. If the answer is "Y", it will quit immediately. If not, it will display "YOU DID NOT EXIT".