Introduction


By storing programs and data as files, you can reuse them without the need to enter the keystrokes again. While the information is in a file, you can use the calculator's program memory and data registers for other purposes.


Types of Files

You can create two types of files: program files and data files.

A program file is a copy you make of the contents of program memory.
  • You can run a program while it is stored as a file. You do not have to first load it into program memory.
  • You cannot list or modify a program unless you first load it back into program memory.

A data file is a copy you make of the contents of a series of data registers.
  • Data you may need to reexamine or update can be saved as a data file.
  • You cannot list, modify, or otherwise use the contents of a data file unless you first load it back into data registers.

Rules for Naming Files

When you create a file, you specify a three-character name for it. The name can include letters, numerals, and punctuation symbols. If you use fewer than three characters, the calculator adds trailing spaces. (You do not activate the alpha mode to fill in this field.)

You must identify a data file by using a + as the first character of the file name (for example, +SQ ). You cannot use + as the first character for a program file. This rule lets the calculator distinguish between a program file and a data file.

If you make a mistake while entering a file name in a keyboard command, you must use the [ CLEAR ] key to erase the name and start over.

File Directories

Because you can save a file in either a Constant Memory cartridge, or in the calculator's file space, you need a way to specify which storage are you want to use.

The calculator lets you do this by treating each file-storage area as a named directory. While using the menus described in this chapter, keep in mind:
  • The directory name MEM always refers to the calculator's file space.
  • The directory name NEW is assigned by the calculator to any Constant Memory cartridge when you first use the cartridge. (You can change the name to one you prefer.)

Types of File Operations

The RPD-95 lets you perform several file operations. These include:
  • Saving a program or data as a file.
  • Loading a program or data back into memory.
  • Viewing a catalog of files saved in a specified directory.
  • Deleting a specified file.
  • Clearing all the files in a specified directory.
  • Renaming a Constant Memory cartridge.

You can perform file operations directly from the keyboard, or from within a program. Both methods are described, but you should try the keyboard examples before using file operations in your programs.

Back