On Tue, 16 Jul 2013, Carsten Bager wrote:

Hi
I have a question about dynamic strings and memory allocation.
If you look at my example underneath, I depend on that a dynamic string always 
is assigned
memory space in one connected block. But will that always be the case in 
various operating
systems.

Yes, the data of a dynamic string is contained in one connected block.

The data of 2 dynamic strings may of course reside in 2 different blocks, i.e.,
it it not correct to say that all string data of the program is in the same 
connected block.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to