[fpc-pascal] How to declare function with untyped array parameter

Marco van de Voort marcov at stack.nl
Thu May 26 09:39:27 CEST 2016


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.


 



More information about the fpc-pascal mailing list