322 Programming
Checking syntax
The Program Editor lets you check the function or program for correct
syntax.
f On the Program Editor’s Check Syntax & Store menu,
select
Check Syntax.
If the syntax checker finds any syntax errors, it displays an error
message and tries to position the cursor near the first error so you
can correct it.
Storing the function or program
You must store your function or program to make it accessible. The
Program Editor automatically checks the syntax before storing.
An asterisk (*) is displayed in the upper left corner of the Program Editor
to indicate that the function or program has not been stored.
f On the Program Editor’s Check Syntax & Store menu,
select
Check Syntax & Store.
– If the syntax checker finds any syntax errors, it displays an error
message and tries to position the cursor near the first error.
– If no syntax errors are found, the asterisk (*) at the upper left
corner of the Program Editor is removed to show that the
function or program has been stored.
Note: If the function or program is defined as a library object, you must
also save the document in the designated library folder and refresh
libraries to make the object accessible to other documents. For details,
see the “Libraries” chapter.
Viewing an existing program or function
1. On the Program Editor’s Actions menu, select View.
The View dialog box displays.