Associative array/Iteration: Difference between revisions
Content deleted Content added
→{{header|MATLAB}} / {{header|Octave}}: more concise explanation |
→{{header|TXR}}: With "each" operator and array syntax. |
||
Line 1,293:
<lang txr>
@(do (defvar *h* (make-hash nil nil nil))
(
(set [*h* k nil]
(dohash (k v *h*)
(format t "~a -> ~a\n" k v))))</lang>
<pre>$ txr hash.txr
|