Removing elements from dynamic arrays?

Lars Ivar Igesund larsivar at igesund.net
Wed Nov 1 16:30:43 PST 2006


Bill Baxter wrote:

> Chris Nicholson-Sauls wrote:
>> Bill Baxter wrote:
>>> Chris Nicholson-Sauls wrote:
>>>
>>>> # import cashew.utils.array;
>>>> #
>>>> # int[] foo = ... ;
>>>> # foo.remove(3U);
>>>> # foo.removeRange(2U, 7U);
>>>> # foo.removeSub(foo[1 .. 5]);
>>>> etc.
>>>
>>> I went to http://www.dsource.org/projects/cashew but found no obvious
>>> way to download cashew or instructions related to obtaining the
>>> software.
>>>
>>> --bb
>> 
>> I guess I could mention it explicitly, but the way to do it is to use
>> Subversion checkout.  I don't bother making "official" downloads of it,
>> because there are constant updates being made.  (This is also why each
>> package/module gets its own version number, rather than a library-wide
>> version.)
>> 
>> -- Chris Nicholson-Sauls
> 
> Ok, I know subversion, but I don't know how to do a subversion checkout
> from Dsource.  What's the subversion URL for your project?
> 
> --bb

svn co http://svn.dsource.org/projects/cashew/trunk cashew

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource & #D: larsivi



More information about the Digitalmars-d-learn mailing list