I can make this work, but I don't know how to explain it to someone, that is, what terminology to use, and how to explain what is happening.
Here is a two-dimensional array, and two words that I will use as subscripts:
>> array1: [ ['a1' 'a2' 'a3'] ['b1' 'b2' 'b3'] ['c1' 'c2' 'c3'] ]
== [['a1' 'a2' 'a3'] ['b1' 'b2' 'b3'] ['c1' 'c2' 'c3']]
>> ix1: 2
== 2
>> ix2: 2
== 2
I know I can refer to the middle of the middle row (item b2) with the 'slash' notation:
>> probe array1/2/2
'b2'
== 'b2'
I thought at first that I could just substitute the subscripts for the integers, as follows:
>> probe array1/ix1/ix2
** Script Error: Invalid path value: ix1
** Where: halt-view
** Near: probe array1/ix1/ix2
That didn't work, so I figured out the 'get-word' concept and can do this:
>> probe array1/:ix1/:ix2
'b2'
== 'b2'
So that's fine, and I also can use the 'pick' function:
>> probe pick pick array1 2 2
'b2'
== 'b2'
>> probe pick pick array1 :ix1 :ix2
'b2'
== 'b2'
BUT, I ALSO can use this:
>> probe pick pick array1 ix1 ix2
'b2'
== 'b2'
I don't know how to explain to someone why using just the subscript words works in the 'pick' example immediately above but NOT in the 'slash' example farther back. I am wondering if someone else can explain.
Thank you.