 |

Tag List | Content
Insertion | Expression | Looping | Branching | System
Values | Statistical Functions | Sections

<?(Expression)?>
<?(Expression)@NumFormat?>
An expression returns a single value, which is interpreted as numeric
if at least one arithmetic operator is used or the NumFormat is
specified.
The simplest expression has just one operand. Expression
operands do not need the tag markers <? and ?>.
The allowed components
of an expression are listed below. |
1. |
Arithmetic Operators |
|
+ |
(sum) |
|
- |
(difference) |
|
* |
(multiply) |
|
/ |
(floating point division) |
|
\ |
(integer division, i.e., dropping
the decimal part of the result) |
|
% |
(divide and return remainder) |
|
^ |
(exponential) |
2. |
Parentheses ( ),
to change operator precedence. The default order is left to right,
with exponentials first, multiplications and divisions next,
and finally sums and differences. |
3. |
Any integer or floating
point number. Negative numbers must be parenthesized
WITHOUT whitespaces, like "(-12)". |
4. |
Field tag and extensions,
like [LookupValueField]([LookupKeyField]=[Field]{Column}) |
5. |
System values,
like PageNum |
6. |
Statistical functions,
like LRCC([Field1],[Field2]) |
7. |
Variables |
|
|
Examples: |
|
<?( [Field] )?> is
equivalent to <?[Field]?> |
|
<?( [Bytes] / 1024
)@#,##0?> kB |
|
<?IF([Diff]<0)?><?((-1)*[Diff])@#,##0?><?ELSE?><?[Diff]@#,##0?><?ENDIF?> |


|
 |