> On Feb 20, 2021, at 7:52 PM, Виктор Матузенко via fpc-pascal > <fpc-pascal@lists.freepascal.org> wrote: > > And how do I write generic helper for all possible dynamic arrays?
By hand sadly. The RTL has added type helpers for many types but I don't think they added these for dynamic arrays. I agree that dynamic arrays should have a "Count" method by default and the RTL should provide "array of T" for all intrinsic types. Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal