Maurice Lombardi wrote:
Silvio a Beccara a écrit:
how do I get the dimensions of a dynamic array? For instance, like the following:
type
PMatr2Dob10 = ^Tmatr2Dob10; Tmatr2Dob10 (Size1, Size2: Integer) = array [ 1 .. Size1, 0 .. Size2 ] of double;
var
kets: Pmatr2Dob10
kets^.Size1 kets^.Size2
For schemata (like here) that's recommended. For other arrays, you can also use `Low' and `High' (here: `Low (kets^)', `High (kets^[1])' etc.).
Frank