REPORTER 22.1
Working with Variables

Working with Variables

A main feature of REPORTER is that you create a template from which a report can be generated. This allows you to create a standard template for a project and then use that template to automatically create a report for a number of model runs. This is mainly achieved through the use of variables.

Variables are defined with a name and a value which can be a number or a text string, for example.

Variable Name Value
CURRENT_PAGE 2
DEFAULT_DIR /data/test/ tube1
DEFAULT_JOB tube_test1

The main advantage of using variables when defining the various objects in the report template is that rather than having to go through the report and change all the various filenames and directory paths when you want to generate a report from a new model, all you need to do is change the variables. This can be done manually by editing the template in REPORTER , or you could insert a program/script into the template that would calculate and define all the necessary variables when REPORTER generates a report.