That’s what it is all about - get it working.
One thing which makes me wonder is that record_n doesn’t get reset,
so after 3rd run
is always true.
Btw. if you post code, intend the whole code by 4 spaces then it keeps the layout ;-)
Cheers
Claudia