Inserting Comments - Texas Instruments TI-NSPIRE Software Manual

Cas computer software
Hide thumbs Also See for TI-NSPIRE:
Table of Contents

Advertisement

You can either type the names of functions and commands or
insert them from the Catalog.
A line can be longer than the width of the screen; if so, you
might have to scroll to view the entire statement.
After typing each line, press
and lets you continue entering another line.
Use the
or program for entering or editing commands.

Inserting comments

A comment symbol (©) lets you enter a remark. Comments can be useful
to someone viewing or editing the program. Comments do not display
when the program runs, and they have no effect on program flow.
Define LibPub volcyl(ht,r) =
Prgm
©volcyl(ht,r) => volume of cylinder
Disp "Volume =", approx(
©This is another comment.
À
Comment showing required syntax. Because this library object is
public and this comment is the first line in a Func or Prgm block, the
comment displays in the Catalog as help. For details, see the
"Libraries" chapter.
To insert a comment:
1.
Position the cursor at the end of the line where you want to insert a
comment.
2.
On the Program Editor's
3.
Type the text of the comment after the © symbol.
Programming
¡
¢
£
¤
,
,
, and
arrow keys to scroll through the function
Actions
. This inserts a new blank line
Enter
2
r
ht)
p ¦
¦
menu, select
Insert Comment
À
.
321

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-nspire

Table of Contents