|
From: Martin M. <mar...@gm...> - 2026-01-24 19:12:08
|
Currently I am trying to delete a hash, so that it is anymore available, but without success. When having a variable between the square brackets of the block, it is only local available f() := block([a], a: 5, return()); Doing the same thing with hash arrays, the hash is still accessible from the outside (%i2) functionf() := block([a], a[6]: 5, return() ); kill(a); (%o1) functionf():=block([a],a[6]:5,return()) (%o2) done (%i3) functionf(); (%o3) false (%i4) arrayinfo(a); (%o4) [hashed,1,[6]] What is the proper way to delete hash arrays? Best regards, Martin |