29 Jul
2003
29 Jul
'03
10:26 p.m.
Silvio a Beccara wrote:
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
Try e.g. Dimension1 := kets^.Size1; This will give you the value you have assigned to Size1 when allocating the array. Best, Markus