-
Why sometimes the amend/index doesn’t work?
In below code, a1 doesn’t work. Any ideas why?
myObj: (5 7; (`a; `b ; (4 5)));
a3:.[myObj; 1 2 1; {count x}]; // i.e. ((5 7);(`a;`b;4 1))
a2:.[myObj; 1 2; {count x}]; // i.e. ((5 7);(`a;`b;2))
a1:.[myObj; 1; {count x}]; // i.e. it doesn’t work
a0:.[myObj; (); {count x}]; // i.e. 2
Log in to reply.