hmm, so a delete array[element]  will leave a gap instead of removing the
element and move all "higher" elements down one step ?



Pascal Bestebroer
[EMAIL PROTECTED]
http://www.dynamic-core.net

> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Namens Brandon Myers
> Verzonden: donderdag 14 december 2000 17:01
> Aan: [EMAIL PROTECTED]
> Onderwerp: RE: [Dynapi-Dev] deleteFromArray
>
>
> It's not the array length that's important.. it's maintaining
> proper order..
>
> It wouldn't be "prudent" if we just removed item 4 from an array of 10.
> there would be a gaping hole.
>
> (For all you people outside america...
>       prudent: A little President Bush humor.
> )
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Andrew
> > LePera
> > Sent: Wednesday, December 13, 2000 2:59 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Dynapi-Dev] deleteFromArray
> >
> >
> > > Why do we still use deleteFromArray ?
> >
> > deleteFromArray is still useful for removing items from ordinal
> > (non-associative) arrays while maintaining the correct array length.
> >
> >
> > --
> > scott andrew lepera
> > -----------------------------------
> > web stuff:     www.scottandrew.com
> > music stuff:   www.walkingbirds.com
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
>

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-dev

Reply via email to