bheyde
8/25/2014 - 6:43 PM

DTS: Assign and Eval

DTS: Assign and Eval

// Assign and Evaluate a Math Operation

<mvt:assign name="g.variable" value=" '10 + 10 = ' $ (10+10)" />
&mvt:global:variable;

<br>

<mvt:eval expr="g.variable" />
// Assign and Evaluate a String

<mvt:assign name="g.variable" value="'hello world'" />
&mvt:global:variable;

<br>

<mvt:eval expr="g.variable" />