Program editor

### 24.1.1 Program editor

Xcas provides you with a program editor, which you can open with Alt+P (see Figure 24.1). This can be useful for writing small programs, but for writing larger programs you may want to use your usual editor. (Note that this requires an editor, such as Emacs, and not a word processor.) If you use your own editor, then you will need to save the program to a file, such as myprog.cxx, and then load it into Xcas by creating a programming entry with Alt+P and then selecting Prog ▸ Load from the entry menu.

> Figure 24.1: Programming editor in Xcas