Am 26.05.2016 09:39 schrieb "Marco van de Voort" <mar...@stack.nl>:
>
> In our previous episode, LacaK said:
> > is there way how to declare function, which will accept as parameter any
> > array type ?
> > (this parameter I need forward to System.Length() only )
>
> Generally one uses TArray<T> as parametertype. in such cases. One can take
> the length of a generic array.

In that specific case that might not really help except if one puts the
code into a class function of another generic class that does not have a
Length method or property. But even then it might still fail cause of
insufficient support in 2.6.4.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to