If the variable a doesn't exist, then set a(1) should throw can't read "a(1)": no such variable. But if a exists and is an array variable but doesn't contain that element, it should throw can't read "a(1)": no such element in array. At present it throws the no such variable message in both cases.
If the variable
a
doesn't exist, thenset a(1)
should throwcan't read "a(1)": no such variable
. But ifa
exists and is an array variable but doesn't contain that element, it should throwcan't read "a(1)": no such element in array.
At present it throws theno such variable
message in both cases.