[Maxima] "guarded" fetch from hashed array

Richard Fateman fateman at eecs.berkeley.edu
Tue Feb 7 15:34:58 CST 2012


Here is how you make all non-entries produce an error.
hash[x]:= error("ERROR ", x);

/* try it out */

hash[a]:aaa;



hash[a];

  hash[b];



More information about the Maxima mailing list