<var-def name="variable_name" overwrite="overwrite_existing">
body as value of the variable
</var-def>
| Name | Required | Default | Description |
|---|---|---|---|
| name | yes | The name of variable. Should be valid like in most programming languages. | |
| overwrite | no | true | Boolean value (true or false) telling if existing variable with the same name will be overwriten or not. |
<var-def name="digitList">
<while condition="true" index="i" maxloops="9">
<var-def name="digit${i}">
<template>${i}</template>
</var-def>
</while>
</var-def>
This example defines the variable digitList which is the sequence of 9 values (digits from 1 to 9), and 10 simple variables digit1, digit2, ..., digit9 with values ranging from 1 to 9.