repCount

HC Loops repCount
repeatCount forever

repeatCount
repCount


outputs the repetition count of the innermost current repeat, starting from 1. If no REPEAT is active, outputs 0.

Example:

show repCount	;0
repeat 4
[	print repCount	;1 2 3 4
]
show repCount	;0

Examples:

References:

repeatCount forever