[fpc-pascal] Constants in generics

Sven Barth pascaldragon at googlemail.com
Sun Jan 6 23:16:20 CET 2019

Am So., 6. Jan. 2019, 19:07 hat Ryan Joseph <ryan at thealchemistguild.com>

> Last question I have I think.
> Is this the best way to get "pretty name" string for a set? Having to loop
> through the entire range of the set is not so great but I don’t see another
> way. I feel like there should be some utility functions to get names for
> ord defs also but I just did a crude string conversion for now.

I don't think that there is a better way. Also up to now it wasn't
necessary for the compiler to do this, thus there are no utility functions
for it.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190106/26818977/attachment.html>

More information about the fpc-pascal mailing list