On Sat, 05 Nov 2011 10:29:36 +0200, Jude Young <[email protected]> wrote:
icon = *(toStringz(text(num))); icon is a char, num is an integer. I don't suppose there is an easier way to do this? It's too late and ma brains is mushy.
If I understood the problem correctly:
icon = text(num)[0];
-- or --
icon = cast(char)('0' + num);
--
Best regards,
Vladimir mailto:[email protected]
