Ti-basic (Calculators)

This article is about the calculator programming language. For the TI 99/4A home computer programming language, see TI BASIC (TI 99/4A) (note: no hyphen between "TI" and "BASIC" in that version). TI-BASIC is the unofficial name of a BASIC-like language built into Texas Instruments graphing calculators (Ti only refers to it as the calculator's extensive programming capability). This is the simplest way to program any TI calculator although assembly language may also be used (most often Z80 assembly). On the TI-89 and higher calculators (with a Motorola 68000 processor) you can also use C, through a compiler called TIGCC. Although TI-BASIC is considerably slower than C or assembler and consequently is not much good for programming fast applications and games, it is very useful for quickly writing programs to solve math problems.

Examples of TI-BASIC (for the Z80-based calcs)

The following program, when run, will clear the screen and print the words "HELLO WORLD":
 
ClrHome
Disp "HELLO WORLD"
The next program will add the integers from 1 to 20 inclusive, and store the result to variable "A". It will then display the contents of A on a blank screen:
 
Clrhome
0->A
For X,1,20
    :A+X->A 
End
Disp A
This one will tell the user the numerical value of any button pressed except the 'on' key, and will continue to loop until the calculator is turned off.
 
ClrHome
Lbl 1
getKey A
While A=0
getKey A
End
ClrHome
Disp A
Goto 1

See Also

External Links

 

<< PreviousWord BrowserNext >>
stephen cambone
xfree86 logfile
never surrender (1983 album)
ti 82
bowater forest products
ti 81
ti 80
kristine kathryn rusch
elmira college
mary black
never surrender
roland gift
list of characters from family guy
mark moran
delton
columbia greene community college
musth
giuseppe arcimboldo
willian
dutchess community college
walter noel
bib fortuna
leatherface
list of privy counsellors (1952 present)
barbara howe
dominic leblanc
stages (album)
drayton sawyer
charles hubbard
ryll
isotopes park
stages
mercury mystique
reinventing axl rose
nubbin
yr head is a rock
chris cole
uncle buck
take 6
christine lahti
encephalomyelitis
stages (1985 album)
cosmic encounter online
chop top