Hi,
I adapted a circular buffer type originally written in C and C++ by Phillip Johnston of Embedded Artistry. Circ Buffer P Johnston
The circular buffer uses a list which expands to a maximum size as entries are added then persists with items handled with list.set and list.get.
To use it...