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.
Ê
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:
•
2
X
– 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:
Ê
Ë
:prog1()
:Prgm
:
¦
Displays sum of 1 thru n
:Request "Enter an integer",n
:expr(n)
!
n:
¦
Convert to numeric expression
:------
Содержание Voyage 200
Страница 36: ...Getting Started 36 D B D B Press Result ...
Страница 45: ...Getting Started 45 3 0 D B D D B D Press Result ...
Страница 46: ...Getting Started 46 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Страница 60: ...Getting Started 60 B D Press Result ...
Страница 139: ...Previews 139 8 Complete the operation Press 2 d Steps and keystrokes Display 5 f 2 ...
Страница 181: ...Operating the Calculator 181 From the Keyboard From the Keyboard From the Keyboard From the Keyboard ...
Страница 453: ...Differential Equation Graphing 453 ...
Страница 468: ...Tables 468 ...
Страница 515: ...Split Screens 515 Note Both Top Bottom and Left Right splits use the same methods to select an application ...
Страница 777: ...Activities 777 ...