Defining Variables
PPF variables are useful when one piece of information will appear in numerous sections of a report. Assigning this information to a variable avoids repetition and makes changes quicker if required.
Variables are defined in the reserved ppf_vars object. The format is name: value, and values can themselves contain other variables:
var ppf_vars = {
cr: "© Copyright Visualware $$repvars.year$$, all rights reserved for internal use only.",
year: "2020"
}
Using Variables
To extract a variable's value for use in another widget (for example the text widget), use the following syntax:
$$repvars.cr$$
This looks for a report variable named cr and returns its value.
Since the value of cr in the example above also contains a variable reference ($$repvars.year$$), the final output would be:
© Copyright Visualware 2020, all rights reserved for internal use only.
Note that the nested $$repvars.year$$ variable has been substituted as well.

