I understand the first example of course, or at least I think it do.LCMark wrote: ↑Fri Oct 27, 2023 1:43 pm@trevix: Heh - my post was a little dense!
Perhaps a much shorter way to explain the 'dynamic path' feature is this:Is equivalent to:Code: Select all
get tArray[A][B][C][D][E] put tValue into tArray[A][B][C][D][E]
Code: Select all
put [ A, B, C, D, E ] into tPath get tArray[tPath] put tValue into tArray[tPath]
It should create an array
Code: Select all
tPath[A] = empty
tPath[A][B] = empty
tPath[A][B][C] = empty
tPath[A][B][C][D] = empty
tPath[A][B][C][D][E] = tValue
Code: Select all
tPath[1] = A
tPath[2] = B
tPath[3] = C
tPath[4] = D
tPath[5] = E