[fpc-pascal] String conversions
Ben Grasset
operator97 at gmail.com
Thu Jun 27 02:31:21 CEST 2019
On Wed, Jun 26, 2019 at 5:36 PM Ryan Joseph <genericptr at gmail.com> wrote:
> Yes indeed. FPC already has an overwhelming amount of string types. As I
> said though a SetCapacity option for growing would be nice (for dynamic
> arrays also) because += is such a common operation. As it stands I often
> don’t use dynamic arrays (and now ansistring) because of growing
> limitations, which is a shame really.
>
Well, I think the idea is that stuff like capacity is what you'd have / do
have in actual containers built *around* strings and / or dynamic arrays,
as they're both just built in primitives.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190626/b2274bea/attachment-0001.html>
More information about the fpc-pascal
mailing list