[fpc-pascal] String conversions

Ryan Joseph genericptr at gmail.com
Tue Jun 25 21:12:19 CEST 2019



> On Jun 25, 2019, at 2:16 PM, Jonas Maebe <jonas at freepascal.org> wrote:
> 
> It has to allocate a new ansistring.

Another question: if I do "s += c” will the string reallocate memory for 1 character or is there an exponential growing function? If it does grow by one character at a time how can I reserve a certain capacity in advance?

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list