Unicode arithmetic at run-time

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Sep 21 18:07:00 PDT 2014


On Mon, 22 Sep 2014 01:02:32 +0000
Vladimir Panteleev via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:

> A bit less ugly:
> writefln("%c", dchar('\U0001F0A1'+1));
this won't work in gdc, though: 2.066 it not landed yet.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140922/095cb468/attachment.sig>


More information about the Digitalmars-d-learn mailing list