> On Nov 24, 2019, at 3:57 AM, Sven Barth via fpc-pascal
> wrote:
>
> What you're looking for is the Count property. Setting it is supported by the
> untyped lists in Classes, the generic ones in FGL as well as those in
> Generics.Collections.
>
> === code begin ===
>
> list := TList.Creat
On Sun, 24 Nov 2019, Sven Barth via fpc-pascal wrote:
Am 24.11.2019 um 10:14 schrieb Michael Van Canneyt:
On Sun, 24 Nov 2019, Sven Barth via fpc-pascal wrote:
Am 23.11.2019 um 23:42 schrieb Ryan Joseph via fpc-pascal:
I need a pre-grown list which I can put (not insert!) items into at
i
Am 24.11.2019 um 10:14 schrieb Michael Van Canneyt:
On Sun, 24 Nov 2019, Sven Barth via fpc-pascal wrote:
Am 23.11.2019 um 23:42 schrieb Ryan Joseph via fpc-pascal:
I need a pre-grown list which I can put (not insert!) items into at
indexes
without getting "List index out of bounds" errors.
On Sun, 24 Nov 2019, Sven Barth via fpc-pascal wrote:
Am 23.11.2019 um 23:42 schrieb Ryan Joseph via fpc-pascal:
I need a pre-grown list which I can put (not insert!) items into at indexes
without getting "List index out of bounds" errors. For example I want to
start with a list that has 10
Am 23.11.2019 um 23:42 schrieb Ryan Joseph via fpc-pascal:
I need a pre-grown list which I can put (not insert!) items into at indexes without
getting "List index out of bounds" errors. For example I want to start with a
list that has 10 empty indexes:
list := TList.Create(10); // 10 empty slo
I need a pre-grown list which I can put (not insert!) items into at indexes
without getting "List index out of bounds" errors. For example I want to start
with a list that has 10 empty indexes:
list := TList.Create(10); // 10 empty slots!
list[5] := someItem;
Is this possible using any list ty