Texas Instruments TI-89 Manuel D’Utilisation
Programming
581
Entering Comments
Entering Comments
Entering Comments
Entering Comments
A comment symbol (¦) lets you enter a remark in a program. When you run the program,
all characters to the right of ¦ are ignored.
all characters to the right of ¦ are ignored.
Ê
Description of the program
.
Ë
Description of expr.
Note:
Use comments to enter information that is useful to someone reading the program
code.
To enter the comment symbol, press:
•
8 d
– or –
– or –
•
Press
„ and select
9
:¦
Controlling the Flow of a Program
Controlling the Flow of a Program
Controlling the Flow of a Program
Controlling the Flow of a Program
When you run a program, the program lines are executed in sequential order. However,
some commands alter the program flow. For example:
some commands alter the program flow. For example:
Ê
Ë
:prog1()
:Prgm
:
¦
Displays sum of 1 thru n
:Request "Enter an integer",n
:expr(n)
!
n:
¦
Convert to numeric expression
:------