FANDOM


:If condition:Then:commands:Else:commands:End

When inserted into an If/Then statement, this will cause any commands after it to be performed if the If condition is false.

Location Edit

  • Prgm
  • CTL
  • 3:Else

Example Edit

:Input "NUMBER",X
:If X=5:Then
:Disp "YOUR NUMBER IS 5"
:Else
:Disp "NOT 5"
:End

This program will ask the user to input a number. If the number is 5, it will display "YOUR NUMBER IS 5". If the number is not 5, it will display "NOT 5"

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.