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 inserts 0.



Example Output

For a non-array field:                              0

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.