Extracting a Constant

Use the Extract command from the Constants menu to extract a constant selected in the Constants folder of the Properties List of the Class Browser or Primitive Types Browser.

The extract file name defaults to the name of the current class and constant separated by an underscore character, with a .cls suffix; for example:

Class1_Constant1.cls

To extract a constant

  1. In the Properties List of the Class Browser or Primitive Types Browser, select the constant that you want to extract.

  2. Perform one of the following actions.

    • Select the Extract command from the Constants menu.

    • Right‑click on the constant and then select the Extract command from the popup menu that is displayed.

  3. If the selected constant uses other constants in the same schema, you are prompted to confirm that you want to select the other constants as well. Click the Yes button. Alternatively, click the No button to extract only the selected constant, or click the Cancel button to abandon the extract.

  4. On the common File dialog that is then displayed, specify a file name, if required, and location to which to save the output file and then click the Save button.

The file is then output to the specified location. Use the Load Options dialog to reload the extracted constant. For details, see "Loading Your Schema", in Chapter 10.

2025.0.01