[fpc-pascal] dynamic array contents and system.move

Bihar Anwar bihar_anwar at rocketmail.com
Sun May 2 10:59:18 CEST 2010


>>J├╝rgen Hestermann wrote:
>> Although I would have expected that special procedures exist to insert
>> and remove array elements so that there is no need to do such things
>> manually ...

>David Emerson wrote:
>These must be written on a case-by-case basis, for each type of array element.
>Perhaps I'll tackle this someday as my first contribution to the fpc codebase.

I'm glad to hear this and thanks for that. I suggest there are DeleteArrayItems() and ShiftUpArrayItems(). The ShiftUpArrayItems() will just shift up items without resizing the array.


      




More information about the fpc-pascal mailing list