Homespacer>spacerMergemill Tags Guidespacer>spacerExpression Tags

spacer

Content Field

Expression

Looping

Branching

System Values

Statistics

Sections

Example

spacer

<?(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?>

spacer

Content Field

Expression

Looping

Branching

System Values

Statistics

Sections

Example

spacer

Top of Page

Featuresspacer::spacerDownloadsspacer::spacerBuy Nowspacer::spacerSupportspacer::spacerTutorialsspacer::spacerTags Guidespacer::spacerSite Map


Copyright © 2001-2017 Cross Culture Ltd. All Rights Reserved.