docsFunctionsLoopsZloopIndexZloopIndex Returns the current 1-based iteration index of the active loop, or 0 if called outside a loop. Syntax ZloopIndex{} Example ZloopIndex{}ZforSplitZloopValue