On Sat, Sep 02, 2000 at 09:42:09AM +1100, Jeremy Howard wrote:
> I'd like to see negative numbers work. Otherwise the programmer would have
> to explicitly check whether an index into a string was positive or negative,
> take the absolute value, and use pop() or shift() as appropriate.
This has to be done now, unless you use splice(). I've never had it
get in my way or had a situation where I needed to swap pop() and
shift(). Has anyone else?
--
Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED]
Just Another Stupid Consultant Perl6 Kwalitee Ashuranse
But why? It's such a well designed cesspool of C++ code. Why wouldn't
you want to hack mozilla?
-- Ziggy