Hi There, I try to write a procedure with generic parameters, but failed:
type generic TArray<T> = array of T; procedure ProcessArray(arr: TArray<T>); begin end; The compiler said "Generics without specialization cannot be used..." But if I specialize the parameter then this procedure is useless. Any ideas? Thanks
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal