Yes, there are good ways to just delete the value at TOS.
Basically we have 2 options:
- use an operator, that does not push to the stack
- pop some register
The problem with the first option is: if we do not know whether there is a number or a string, we seem lost. If we know that TOS is a number:
0*K+k # works only for TOS being a number
But popping a register sends all the values there (including the array) to nirvana. But what about the value we now have in TOS? It should be useful, i.e. "consumable". So, what about:
S.Os.L.o S.Ks.L.k S.s.L.P