I tried to find in the FPC documentation how to declare a generic procedure type, but i didn't find out.
What I'm trying to declare is something like this:
TMyProcType<T> = procedure(Param: T);This kind of statement is made in Delphi, but I didn't figure out how to do it in FPC. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20210604/80f5a917/attachment.htm>
