Usage: (for-index [ for_var ])
Returns the current index for the named FOR
loop.
If not named, then the index for the innermost loop.
Outside of any FOR loop, it returns SCM_UNDEFINED
, See FOR - Emit a template block multiple times.
Arguments:
for_var - Optional - which for loop