Axel Hecht wrote:

this._current is the last written element

But it's more typical for current to point to the next element to be overwritten.

One thing I overlooked is that your code numbers the elements with 0 as the oldest, whereas Eric wanted 0 as the newest.
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to