"Kevin Bealer" <Kevin_member at pathlink.com> wrote in message news:ducrhk$6j3$1 at digitaldaemon.com... > foreach(char[] k, foo v; x) { > // print all elements in order > } The wc example shows how to print the elements of an associative array in order.