214
Chapter 16: Programming
16PROG.DOC TI-86, Chap 16, US English Bob Fedorisko Revised: 02/13/01 2:36 PM Printed: 02/13/01 3:04 PM Page 214 of 16
16PROG.DOC TI-86, Chap 16, US English Bob Fedorisko Revised: 02/13/01 2:36 PM Printed: 02/13/01 3:04 PM Page 214 of 16
16PROG.DOC TI-86, Chap 16, US English Bob Fedorisko Revised: 02/13/01 2:36 PM Printed: 02/13/01 3:04 PM Page 214 of 16
Writing a Program on the TI-86
A program is a set of expressions, instructions, or both, which you enter or download.
Expressions and instructions in the program are executed when you run the program.
You can use most TI
-
86 features in a program. Programs can retrieve and update all
variables stored to memory. Also, the program editor menu has input
à
output commands,
such as
Input
and
Disp
, and program control commands, such as
If
,
Then
,
For
, and
While
.
The PRGM Menu
8
NAMES
EDIT
program program editor
names menu
Creating a Program in the Program Editor
To begin writing a program, select
EDIT
from the
PRGM
menu (
8
'
). The program
Name=
prompt and
PRGM
NAMES
menu are displayed. ALPHA-lock is on. Enter a
program name from one to eight characters long,
beginning with a letter. To edit an existing program, you
can select the name from the
PRGM
NAMES
menu.
The TI
-
86 distinguishes
between uppercase and
lowercase letters in program
names. For example,
ABC
,
Abc
, and
abc
would be three
different program names.