Slices, appending to arbitrary position
Regan Heath
regan at netmail.co.nz
Tue Dec 31 06:21:53 PST 2013
On Mon, 30 Dec 2013 18:40:24 -0000, Dfr <deflexor at yandex.ru> wrote:
>
> Thank you for replies, i think here i can use assoc array, but sometimes
> it is not suitable because it is not preserve order.
What order do you want it in? The index order? If so, iterating over
aa.keys.sort() will give you the keys in that order, and you can use that
key to get the value aa[key] etc.
R
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
More information about the Digitalmars-d-learn
mailing list