"guarded" fetch from hashed array



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];