vdl-var
Set a dynamic variable to the result of an expression
Example
<vdl-var name="NUM_SCENARIOS" value="=scenarios.length"></vdl-var>
Attributes
name | Name of the variable. This must be a unique name globally, or if the scenario attribute is specified it must be unique within that scenario. | required | |
---|---|---|---|
value | Value of the variable | accepts expression | required |
scenario | Optional scenario index to set the variable on. It sets the variable as scenario scoped. and assigns it to the scenario specified by this index. | accepts expression |