FANDOM


:If condition Then:commands:EndIf

This ends an If/Then of If/Then/Else statement in TI-89. In TI-84, an End is sufficient.

LocationEdit

  • Control
  • 2:If...Then
  • 1:If...Then...Endif

OR

  • Control
  • 2:If...Then
  • 2:If...Then...Else...Endif

ExampleEdit

:If x=5 Then
:Disp "YOUR NUMBER IS 5"
:End

This checks x to see if it is 5. If it is 5, the program displays "YOUR NUMBER IS 5". Else, it does nothing.

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.