On Wed, 20 Jun 2018, Sven Schreiber wrote:
the below fails on a current snapshot.
<hansl>
bundle foo = null
matrix m = {1,2}
# user guide example:
string s = "matrix 1"
foo[s] = m # matrix is added under key "matrix 1"
# now wrap this into an array
bundles bb = defarray(foo)
# try to access the string inside (fails)
eval bb[1][s]
</hansl>
This should now be OK in git. Here's my test case:
<hansl>
bundles B = array(2)
# via string literal
B[1]["matrix 1"] = {1,2}
eval B[1]["matrix 1"]
# via string variable
string s = "matrix 2"
B[2][s] = {1,2}'
eval B[2][s]
# and for good measure: switch type
B[2][s] = "sausage"
eval B[2][s]
</hansl>
Allin