<div dir="ltr">Hi,<div><br></div><div>Would it be possible in FPC to pass a type of a variable as a parameter to a function? </div><div><br></div><div>e.g. </div><div>  MyFunction(integer);</div><div><br></div><div>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.</div><div><br></div><div>TIA</div><div><br></div><div>Rgds, Darius  </div><div><br></div></div>