Gets the current index in the loop.

Syntax

Smartsite SXML CopyCode image Copy Code
integer this.index()

Parameters

This Viper method does not expose any parameters.

Return Value

Data Type Description
Integer The current index in the for-loop.

Used in

Macro Description
For Executes statements a given number of times.

Expand image Example

SXML