Named character entities

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Feb 13 21:46:17 PST 2012


What is the correct format for named character entities? According to
the online specs, I should be able to write:

	dchar ch = '&';

But gdc-4.6.2 refuses to compile this; apparently it wants:

	dchar ch = '\&';

Which is right??


T

-- 
People say I'm indecisive, but I'm not sure about that. -- YHL, CONLANG


More information about the Digitalmars-d-learn mailing list