Hi,

Would it be possible in FPC to pass a type of a variable as a parameter to
a function?

e.g.
  MyFunction(integer);

I have legacy C code that does this via a macro. Hopefully, it can be done
so I do not need to change the existing code too badly.

TIA

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

Reply via email to