You are here: TI-Nspire™ Technology Program Editor eGuide > TI-Nspire™ Technology Program Editor Guide > Getting Started with the Program Editor

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.

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

Defining a Program or Function

Viewing a Program or Function

Opening a Function or Program for Editing

Importing a Program from a Library

Creating a Copy of a Function or Program

Renaming a Program or Function

Changing the Library Access Level

Finding Text

Finding and Replacing Text

Closing the Current Function or Program

Running Programs and Evaluating Functions

Getting Values into a Program

Displaying Information

Using Local Variables

Differences Between Functions and Programs

Calling One Program from Another

Controlling the Flow of a Function or Program

Using If, Lbl, and Goto to Control Program Flow

Using Loops to Repeat a Group of Commands

Changing Mode Settings

Debugging Programs and Handling Errors