Removing elements from dynamic array

drug via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 9 13:38:04 PDT 2015


09.08.2015 23:22, Reflexive пишет:
>
Try to use
this.sabotarray = this.sabotarray.remove(id_card);

remove() removes element(s) but doesn't change length of 'old' array. To 
get new length you should use 'new' array that returned from remove(). 
In this case I get rid of two excessive kings in cards.


More information about the Digitalmars-d-learn mailing list