> On Jun 23, 2018, at 3:13 AM, Florian Klämpfl <[email protected]> wrote:
>
> {$macro on}
>
> {$define TypeStr:=specialize _TypeStr}
>
> begin
> Writeln(TypeStr<TMyRecord>);
> end.
>
>
> ;)
You have a good sense of humor about it at least. :)
So you can in fact print types, albeit with a more verbose syntax and by using
another meta-programming tactic, e.g. generics.
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal