SetVar

 

Saves a value in the variable repository for later use with the GetVar() function. The purpose of these functions is to provide a simple buffer for values. You shouldn't execute complex nesting with GetVar/SetVar or combine both functions with each other - especially for header, footer and group lines unexpected effects can occur here.

Parameter(s):

String          Description of variable

All                Value to store

Boolean       Defines if the function should also return the value or if the result should be an empty string. Default: Return value (True).

Return value:

All

Example:

SetVar ("Page", Page())