Руководство Пользователя для Xerox Paris, a document system Support & Software

Скачать
Страница из 413
Chapter 4: Functions in the Text Editing Menu
188
The Paris Designer User Manual
Calculate
The calculation string for a field is a series of instructions detailing how to modify
and prepare the current Value, before using the Value.
This string is made up of one or more ‘Functions’ and Field Names, separated by
‘Operators’.
For example, the calculation string NUM(F1)+F2 consists of a Function (NUM),
Operator (+) and the Field Name (F2).
The following Operators are available for calculation:
+
-
*
/
<
>
=
#
The Calculation option is currently under development. Refer to your readme.txt
files for the latest features.
Values
A field always has a value. A field’s Default Value can be set by:
 
Entering the value in the ‘Default’ box (static text),
 
Using an Update Field event (text extracted from the printstream data),
 
Using a calculation string,
 
Using a Runtime event.
As noted on the previous page, if a field has no Default Value specified, when the
Current Value is ‘Reset’ it is to an empty string (AlphaNumeric fields), or 0 [zero]
(Numeric fields).