> Ever heard of recursion?
>
> Why don't you simply handle all types recursively? Why do you need this
> "array depth" stuff?
Most probably because I tackle my parsing problem sub-optimally.
This is how I do it:
load file into char[][]
create: int[][][] arr;
call: ddata.get( (in) file, (in) 'array1', (ref) arr);
find row starting with 'int[][][] array1'.
parse char by char from there
every time the end of a value is found convert the slice to the correct
type
and put it in the corresponding arr index.
return;