Thanks again.
@Thaddy: You surely know the technical details of the implementation of dynamic arrays with FP and of interoperability issues concerning data exchange in a world also using different programming tools to some degree.
Where and in what way is the
High information stored?
Does the "structure" of dynamic arrays also care about the element size? If so, in what way? If not, why?
Does the "structure" of dynamic arrays also provide means to store/make accessible additional metadata?
Is there a text describing this and related topics in a way an amateur like me might understand without intensely studying terminology first?
(Due to hubris I dared to assume the
High information for a dynamic array
a should be stored some few bytes
below the dataspace starting with
a[0] then. If so, is there a way to extend the range for metadata downwards?)
Regards and thanks in advance.
(Editing.)
Testing with
procedure Test(var v);
var
p1: Pointer absolute v;
p2: ^Longint;
a: TaSmall absolute v;
b: TaByte absolute v;
j: Longint;
begin
p2:=p1-8;
WriteLn(p2^);
for j:=0 to High(v) do
{Something};
end;
resulted in favor of my assumption with 8 Byte being the size of
High information. (Everybody else surely knew that in advance.)