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.
:prog1()
:Prgm
Ê
:¦Displays sum of 1 thru n
:Request "Enter an integer",n
Ë
:expr(n)!n:¦Convert to numeric expression
:------
Ê
Description of the program .
Ë
Description of expr.
Use comments to enter information that is useful to someone reading the program
Note:
code.
To enter the comment symbol, press:
8 d
•
– or –
Press „ and select
•
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:
Programming
:¦
9
581