- Joined
- Oct 11, 2012
- Messages
- 711
I was reading Hanky's dynamic indexing tutorial in his example map and got quite confused by the following:
Another example with 3 indexes which expire in the order of 1,2 and 3:
=> Index 1 get recycled
1 [1] = 3 [3]
3 [3] = 1
=> Index 2 get recycled
2 [2] = 2 [2]
2 [2] = 2
=> Index 3 get recycled
3 [1] = 3 [1]
3 [1] = 3
First question: as for "1[1]", what does the first number "1" mean? Also, what does the second number "1" in the brackets mean?
Second question: shouldn't "3[1]" be "3[3]" ?
Third question: what does "recycle" mean in here?
I couldn't get the idea....
Another example with 3 indexes which expire in the order of 1,2 and 3:
=> Index 1 get recycled
1 [1] = 3 [3]
3 [3] = 1
=> Index 2 get recycled
2 [2] = 2 [2]
2 [2] = 2
=> Index 3 get recycled
3 [1] = 3 [1]
3 [1] = 3
First question: as for "1[1]", what does the first number "1" mean? Also, what does the second number "1" in the brackets mean?
Second question: shouldn't "3[1]" be "3[3]" ?
Third question: what does "recycle" mean in here?
I couldn't get the idea....