Anonymous user
Associative array/Iteration: Difference between revisions
→{{header|TXR}}: With "each" operator and array syntax.
(→{{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
|