Michael Van Canneyt
michael at freepascal.org
Tue Jul 16 13:27:53 CEST 2013
On Tue, 16 Jul 2013, Carsten Bager wrote:
> 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
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.
More information about the fpc-pascal