Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15323 > unrolled thread
| Started by | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| First post | 2019-08-15 11:32 -0400 |
| Last post | 2019-08-15 11:32 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Associative array entries order differs from declaration Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-15 11:32 -0400
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2019-08-15 11:32 -0400 |
| Subject | Re: Associative array entries order differs from declaration |
| Message-ID | <mailman.169.1565883131.30381.bug-bash@gnu.org> |
On Thu, Aug 15, 2019 at 05:26:03PM +0200, Léa Gris wrote: > Is there a way to control the order of entries in an associative array? No. > What rules applies to the order of entries? None. If you require both an associative array and an ordered list, then you will need two different data structures for that. The ordered list may be implemented as an indexed array, which preserves ordering.
Back to top | Article view | gnu.bash.bug
csiph-web