@ASerge: It's not completely clear to me if you wanted to tell me "You are wrong!", and if so with which one of my theses.
What I see is a demonstration of how you suggest to get dynamic arrays of many dimensions. These are shaped to a size calculated from a varianble only with respect to one (the last one by index position) dimension.
I cannot see a demonstration about how
- to get a satisfying surrogate for array[1..m, 1..n] of Double
= to write a procedure for, say, the multiplication of two arrays callable like MatMult(Left, Right, RowsLeft, CommonSize, ColsRight, Result)
= (Editing) ...or, even much better, without the three sizing parameters.
This is: Without the need of mapping pairs of indices to 1D.
What did I miss?