@total
The @total keyword reads the active block's total iteration count.
Warning:
@totalis not the same as[step-count].[step-count]reports the resolver's scheduled count and returns0forforever.@totalreturns<>for infinite repeaters.
@total is read-only. You may use it as a plain expression or with <@total>, but assigning to it
is a compile-time error.
If no repeater is active, @total reads as 0.
[rep:3]{[eq: @total; 3] @break}
@true
[rep: forever]{[eq: @total; <>] @break}
@true