in reply to Re^3: Editing Listed Data (index, stack)
in thread Editing Listed Data

And I didn't preview enough :) or test the logic   shift @lastitem while  @lastitem > 3; ### keep at most 3 last items

Replies are listed 'Best First'.
Re^5: Editing Listed Data (index, stack)
by jtucker (Initiate) on Mar 25, 2013 at 03:56 UTC
    Thanks! That was just the sort of stimulation I needed.