RosettaCodeData/Task/Associative-array-Creation/Maxima/associative-array-creation....

8 lines
120 B
Plaintext

/* No need to declare anything, undeclared arrays are hashed */
h[1]: 6;
h[9]: 2;
arrayinfo(h);
[hashed, 1, [1], [9]]