Next: for-sep - set loop separation string, Previous: for-from - set initial index, Up: AutoGen Scheme Functions [Contents][Index]
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