Where are declared and how to make build these c identifiers?
Cleverson Casarin Uliana
clul at mm.st
Sun Feb 24 15:28:49 UTC 2019
Em 24/02/2019 11:34, Adam D. Ruppe via Digitalmars-d-learn escreveu:
> Those don't have printable characters associated, so they all look the
> same. Try writeln(cast(int) code) - casting it to int so you can see
> the number - and you should see the different results.
>
> Or even
>
> terminal.writeln("You pressed ", cast(KeyboardEvent.Key) ch);
>
Thanks much, it works great.
Greetings,
Cleverson
More information about the Digitalmars-d-learn
mailing list