Getting Started with the Program Editor

You can create user-defined functions or programs by typing definition statements on the Calculator entry line or by using the Program Editor. The Program Editor offers some advantages, and it is covered in this section. For more information, see Calculator.

The editor has programming templates and dialog boxes to help you define functions and programs using correct syntax.
The editor lets you enter multiple-line programming statements without requiring a special key sequence to add each line.
You can easily create private and public library objects (variables, functions, and programs). For more information, see Libraries.
Syntax highlighting provides visual aid for different program elements as follows: Keywords/built-in commands in blue, Operators in red, Strings in green, Comments in gray, and numbers in black.

Note: In most cases, functionality is identical between the Computer and the Handheld views. You may see some differences between computing platforms.

Launching the Program Editor

To add a new Program Editor page in the current problem:

From the toolbar, click Insert > Program Editor > New.

Handheld: Press ~ and select Insert > Program Editor > New.

Note: The editor is also accessible from the Functions & Programs menu of a Calculator page.

À

Program Editor menu – This menu is available anytime you are in the Program Editor work area using the Normal view mode.

Á

Program Editor work area

Â

Status line shows line-number information and the name of the function or program being edited. An asterisk (*) indicates that this function is “dirty,” which means that it has changed since the last time its syntax has been checked and it has been stored.

Topic Links