digitalmars.D - Hexadecimal literal
- Jason Mills (7/7) Mar 11 2006 Was the following ever (previous version) a valid D hex literal?
- Walter Bright (3/7) Mar 11 2006 It is in the C compiler, but not in D.
Was the following ever (previous version) a valid D hex literal?
int h = 12h;
Which is the same as
int h = 0x12;
I quickly searched the change log but didn't find any indication it was.
Thanks,
Jason
Mar 11 2006
"Jason Mills" <jmills cs.mun.ca> wrote in message
news:duuuc1$c4e$1 digitaldaemon.com...
Was the following ever (previous version) a valid D hex literal?
int h = 12h;
Which is the same as
int h = 0x12;
It is in the C compiler, but not in D.
Mar 11 2006








"Walter Bright" <newshound digitalmars.com>