Click or drag to resize
TOPICA Report ReportVariable

[This is preliminary documentation and is subject to change.]

The ReportVariable tag is used to define variables for later use in the same report.

ReportVariable attributes

Attribute

Type

Description

Condition

TOPICA Basic expression

The TOPICA Basic expression is evaluated - it should return a Boolean value.

false: The ReportVariable is NOT defined.

true: The ReportVariable IS defined.

VariableName

String

The name of the variable to be defined.

Variable names are case insensitive.

Variables may be redefined, i.e. it is not an error to define a variable with a name, that is already used for a variable. When redefining, the old value is lost.

ExpressionString

TOPICA Basic expression

The expression is evaluated, and the computed valued is saved in the variable for later use.