Ah! Yes, that works. Thanks!
For the record and for the benefit of anyone else wondering the same thing, I've also tried experimenting with scoping, e.g. by moving the inner loop into a sub of its own. Turns out flip-flops maintain their state even across subroutine calls (which is likely what you'd expect anyway).
In reply to Re^2: Resetting a flip-flop operator
by AppleFritter
in thread Resetting a flip-flop operator
by AppleFritter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |