> On Jun 23, 2018, at 3:13 AM, Florian Klämpfl <flor...@freepascal.org> 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  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to