Manipulating parts of a multi-dimensional array

J. Landman Gay jacque at hyperactivesw.com
Sun Jun 16 15:26:58 EDT 2013


I have a big array with lots of dimensions. Sometimes I need to work 
with a "sub-dimension" only. For example:

array[a][b][c][d]

Each of those elements contains many other elements:

[c][x][y][z]


which each contain more elements:

[c][x][1][2][3]

Suppose I only want to work with [c][x] and all its sub-dimensions. Is 
there an efficient way to extract that into its own array without 
looping through all the [c] keys?

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list