[fpc-pascal] Proper preprocessor?
Marco van de Voort
marcov at stack.nl
Fri Jun 22 10:52:10 CEST 2018
In our previous episode, Ryan Joseph said:
>
> Here?s an example of something I?ve seen for debugging. I think that was kind of cool you could print types like that and I?m not sure how that would work in Pascal if at all. Maybe some RTTI magic perhaps.
>
> {$define typestr(t):='#t: '+IntToStr(sizeof(#t))}
(highlights not having an open array of byte like syntax that also conveys
size)
More information about the fpc-pascal
mailing list