Named Expression Library

The named expression library in the Fields Calculator provides a way to conveniently calculate frequently used quantities. The library comes with several predefined expressions. You can combine calculator Input commands in any legal fashion, including complex quantities, to produce new named expressions.

Note: Named expressions can be displayed and entered in stack format or algebraic format depending which option you select in the Fields Calculator window; see Using the Fields Calculator for more details.

To add a named expression of your own to the Fields Calculator list:

  1. In the register display area, create the expression by using the calculator Input commands.

You can combine input commands in any legal fashion, including the use of complex quantities. If you select an input command that is not legal for a current operation, you receive an error message.

  1. When you finish creating the expression, click Add in the Named Expressions panel.

The Named Expression dialog box appears.

  1. Type a name for the expression in the Name text box.

The new expression is added to the list of named expressions.

To copy a named expressions to the Calculator Stack

To delete named expressions that you added:

When the Named Expression list contains one or more user-defined expressions, the Delete and Clear All buttons are active (you cannot delete or clear the predefined named expressions.)

To save one or more named expressions for the Fields Calculator to a personal Library:

  1. Click the Save To button on the Fields Calculator.

The Select Expressions for Saving dialog displays.

  1. If any new named expressions exist, you can select one or more to save to a file.
  2. Give a file name, and click OK to save the file.

To load named expressions for the Fields Calculator from a personal library:

  1. From the Fields Calculator, click Load From.

This displays a file browser that you can use to search for existing .clc files.

  1. Select the library to load and click OK.

This loads the expression file you have selected.

Related Topics 

Calculating Derived Field Quantities