Evaluate Configuration
Open the document in EscapeE to attach a plugin to a new field or an existing field: see To attach a plugin. Click the Configure button for EVALUATE on the Action page of the Fields dialog to display the evaluate dialog for configuration:
1. | Set up the field for evaluation: |
o | either select Expression and enter an RS/2 expression or function directly into the edit box, |
o | or select File name and enter the name of an external file containing the RS/2 script to be run by EVALUATE plugin. The RS/2 script must return a value in ASYMBOL if it is intended to alter the value of the attached field. |
2. | Tick Modifies the page if the evaluated field value affects the appearance of the document. |
3. | Click OK. |
Field contents are calculated in the order shown in the Fields dialog Tree view. The order can be changed by dragging a named field icon to a new position. To avoid overwriting intermediate results or recursive effects, the EVALUATE script must not access fields until they have been resolved by EscapeE.
EscapeE will refresh the screen view if the evaluated field value modifies the page. If the document is lengthy, this may slow the speed of processing. Refreshing the screen when an evaluated field value does not directly modify the appearance (e.g. because it is an intermediate value for later use) would slow the processing speed needlessly.
Has internal states checkbox has a reserved function and is currently ignored by EscapeE.
Links