Actually, this is a pretty good idea.. then you could devise actual lists and stacks
objects to work with.
-----Ursprungligt meddelande-----
Fr�n: Brandon Myers <[EMAIL PROTECTED]>
Till: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Datum: den 14 december 2000 23:30
�mne: RE: [Dynapi-Dev] deleteFromArray
>I, in practice, when needing a name/value pair array... use objects.
>It's not good practice to use a for-in on an ordinal array.. and very poor
>practice to mix ordinal and associative arrays.. even though the language
>supports it. Just because a language supports something doesn't mean that
>it's a good thing to use.
>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Andrew
>> LePera
>> Sent: Thursday, December 14, 2000 2:15 PM
>> To: [EMAIL PROTECTED]
>> Subject: Re: [Dynapi-Dev] deleteFromArray
>>
>>
>> > hmm, so a delete array[element] will leave a gap instead of
>> removing the
>> > element and move all "higher" elements down one step ?
>>
>> Yes, Brandon is correct in this. That's one of the reasons why
>> removeFromArray was created in the first place. It keeps ordinal arrays
>> in the correct order when you remove an element.
>>
>> --
>> 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