[fpc-pascal] Re: two questions about dynamic array

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Mar 13 10:50:01 CET 2013


On Wed, 13 Mar 2013 09:35:43 +0000
Howard Page-Clark <hdpc at talktalk.net> wrote:

> On 12/03/13 8:30, Xiangrong Fang wrote:
> > TMyClass = class
> >      myarray: array[0..100] of Integer;
> > end;
> You could answer such questions yourself:

Not with this simple test.

 
>[...]
>    my:=TMyClass.Create;
>    try
>     writeln('After creation the value of my.myarray is 
> ',PtrUInt(my.myarray));


Mattias



More information about the fpc-pascal mailing list