in reply to Re^7: Keeping a Count in foreach
in thread Keeping a Count in foreach

Can you shed more light on what anonymous variable is keeping count?

The flip-flop range operator remembers its state, so in a way, each flip-flop has it's own anonymous variable. And it is in scalar context.