FANDOM


:Goto VA

Skips to the specified label.

Location Edit

  • Prgm
  • CTL
  • 0:Goto

Example Edit

:Input "NUMBER",X
:If X=5:Then
:Goto 1
:Else
:Goto A
:Lbl 1
:Disp "YOU CHOSE 5"
:Goto 2B
:Lbl A
:Disp "YOU DIDN'T CHOOSE 5"
:Goto 2B
:Lbl 2B
:Disp "THE END"

This program asks the user to input a number. If the number is 5, the program will display "YOU CHOSE 5" followed by "THE END". If the number is not 5, the program displays "YOU DIDN'T CHOOSE 5" followed by "THE END".

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.