> On Feb 22, 2021, at 4:21 PM, Виктор Матузенко via fpc-pascal 
> <fpc-pascal@lists.freepascal.org> wrote:
> 
> Example of such an algorithm is binary search. I am able to access elements 
> with [] operator of both
> arrays and objects, but I cannot get length in a generic way.
> 

Length(T) is what you want right?

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to