The Encodian population engine supports the creation of variables which are useful where you would prefer to perform a compute expensive operation once and use the output multiple times within the same document.
Token Format
A variable can be declared using the following format:
<<var [Type Name = Value]>>
The Type property is optional, if the Type is not specified the engine will automatically determine and assign the Type.
For example:
<<var [variable1 = "Encodian"]>>
Once a variable has been declared it be used within the document as required using standard syntax, for example:
<<[variable1]>>
A variable value can be re-assigned (updated) as follows:
<<var [variable1 = "New Value"]>>
0 Comments