Application Guide

2. Between the Func and EndFunc (or Prgm and EndPrgm) lines, type the lines of
statements that make up your function or program.
- 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 Enter. This inserts a new blank line and lets you
continue entering another line.
- Use the , , , and arrow keys to scroll through the function 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 are not displayed 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(p ¦ r
2
¦ ht)
©This is another comment.
EndPrgm
À
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 is displayed in the
Catalog as help. For more information, see Libraries.
To insert a comment:
1. Position the cursor at the end of the line in which you want to insert a comment.
2. From the Actions menu, click Insert Comment.
Getting Started with the Program Editor 483