For array fields inserts the one-based element number of the field currently being processed by the field loop. For multi-dimension arrays the token inserts a comma-separated list of current index numbers. For non-array fields the token does not cause anything to be written to the output stream.



Example Output

For a non-array field:                              <no output>

For a single-dimensional array:           1

For a two-dimensional array:                    1,2

For a three-dimensional array:          1,2,3

For a four-dimensional array:           1,2,3,4

Alternate forms


See also






Other field loop expansion tokens




Copyright © 2018  Synergex International, Inc.