www.digitalmars.com         C & C++   DMDScript  

D - problem of hex string

reply Robert <no spam.ne.jp> writes:
 [Lexical/String Literals/Hex string]
 If there are an odd number of hex characters,
 the last one is right-justified in its own byte.
I suggest that such a case should cause an error, since it succeeds to compile even if one letter is missed to write. Robert (Japanese)
Dec 05 2003
parent "Walter" <walter digitalmars.com> writes:
"Robert" <no spam.ne.jp> wrote in message
news:bqq0n3$1801$1 digitaldaemon.com...
 [Lexical/String Literals/Hex string]
 If there are an odd number of hex characters,
 the last one is right-justified in its own byte.
I suggest that such a case should cause an error, since it succeeds to compile even if one letter is missed to write.
I think that's a good suggestion. I'll add it to the bug list.
Dec 06 2003