FANDOM


:Return

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"
:Return
:Disp "YOU DID NOT EXIT

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".

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.