|
|
Executes statements a given number of times.
Syntax
| Smartsite SXML |
|
|---|---|
<se:for from="" to=""> </se:for> |
|
Parameters
| Name | Data Type | Properties | Description |
|---|---|---|---|
| From | Integer |
IsRequired
|
Sets the starting index for the loop. |
| Step | Integer | - | Gets the step size used to walk through the for statement. |
| To | Integer |
IsRequired
|
Sets the index at which the loop should stop. |
| Xml | String |
RawData
IsRequired Default |
Sets the XML. |
Shared Parameters
Local Viper Methods
| Viper | Extension | Description |
|---|---|---|
| This.Break | Breaks out of the loop. | |
| This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
| This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
| This.Index | Gets the current index in the loop. | |
| This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. |
| This.SetForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
| This.Step | Gets the step size used to walk through the for statement. |