I could analyse the STR macro, but i'm lazy today

So you could still fill ALL variable array cells with zero before SERIN, and after SERIN checking which one is still = 0.