Library Rule Dialog Box

The Library Rule dialog box enables you to define an extended rule and any parameters you want to pass to it. This is equivalent to the statements section.

The following table describes the properties of the Rule Library dialog box:

Rule Name
Name of the rule.
Note: You cannot use spaces or special characters.
Rule Purpose
Description of the purpose of the rule (what the rule is used to accomplish).
Return Type
Specify the data type of the value that will be returned. Valid values are:
  • Integer
  • Real
  • String
  • Date
String Length
Specify the length of the string.

Only available if you select String for Return Type.

Parameters
List of parameters displaying the parameter name, type, and passing mechanism (reference).
Add
Accesses the Add Parameter Dialog Box so you can add a new parameter.
Modify
Accesses the Add Parameter Dialog Box for the selected parameter so you can modify it.
Delete
Deletes the selected parameter.
Up
Allows you to move the seleted parameter up in the parameter order.
Down
Allows you to move the seleted parameter down in the parameter order.
Please enter the contents of the extended rule below
Area where you type the extended rule. For more information about extended rules, see Using Extended Rules.
Errors
If you compiled this extended rule, any warnings or errors are displayed in the Errors list. Double-click an error to make the cursor go to the line containing the error.
OK
Saves the function and closes the dialog box.
Compile
Compiles the extended rule. This function enables you to view compile errors for this rule prior to compiling the translation object. This function gives you immediate feedback about the accuracy of your rule. Double-click an error to immediately navigate to the line containing the error.
Note: The rule is also compiled when you compile the map.
Cancel
Cancels the function without saving changes.
Full Screen
Enlarges the extended rule area to the size of your entire display to give you more room to see what you type (click the right button to return to normal display size).