[MrGibson.com TI Home] [MrGibson.com Home]
This Covers TI-81 and TI-82 BASIC

TI-82 has additional BASIC Statements that TI-81 does not, but the general
syntax is the same.

    
ClrHome

    Clears the Home screen


Disp Displays text or a value on the screen Example: x->1 Disp "HELLO" Disp x
DispGraph Displays the graph screen
DispHome Displays the Home screen
DS<( Decrements and skips if less than
End Ends the program
Goto Goto goes to a label. Labels can only be one character.
If If statement evaluates and if true, executes the next line. If false, skips the next line. Example: :if A>B :A->J
Input Lets you input during execution :ClrHome :Input "NUMBER 1:",A :Input "NUMBER 2:",B :(A+B)/2->C :Disp "THE AVERAGE IS:" :Disp C
IS>( Increments and skips if greater than
Lbl lbl defines a label Lbl has one argument and it has to be a single character.
Pause Pauses to display screen
Stop Stop execution
While Note: TI-81 does not have the while statement. Example: :ClrHome :Input "TYPE 20: ",N :While N<>20 :Disp "THAT'S NOT 20!" :Input "TYPE 20: ",N :End