FIELD_ELEMENT0

 

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.

Usage

<FIELD_ELEMENT0>

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

None

See also

<FIELD_DIMENSION1_INDEX>

<FIELD_DIMENSION2_INDEX>

<FIELD_DIMENSION3_INDEX>

<FIELD_DIMENSION4_INDEX>

<FIELD_ELEMENT>

Other field loop expansion tokens

 

 

 


Copyright © 2018  Synergex International, Inc.