hello,
I would like to create buffer like the queue but then with a fixed length.
So when the last value is added then the first added value drops out:
position value
1 50
2 35
3 87
then value 29 is added and value 87 drops off:
position value
1 29
2 50
3 35
Does anybody know how to do that?
thanks
frank
I would like to create buffer like the queue but then with a fixed length.
So when the last value is added then the first added value drops out:
position value
1 50
2 35
3 87
then value 29 is added and value 87 drops off:
position value
1 29
2 50
3 35
Does anybody know how to do that?
thanks
frank