GNU Scientific Library in D

Deewiant deewiant.doesnotlike.spam at gmail.com
Mon Aug 6 01:15:42 PDT 2007


Chris Nicholson-Sauls wrote:
> return this.scaoil ? Staid.Rath : Staid.Loiceadh ;
> 
> Alas the lament of the poor maintenance coder.  Its a shame I can't put
> accents in a symbol.
> 

Sure you can!

class Äöå {
	int fõó() { return Bàr.Ë; }
}

enum Bàr {
	Ë = 2
}

void main() {
	auto x = new Äöå();
	assert (x.fõó == 2);
}

Just save it in a UTF format.

-- 
Remove ".doesnotlike.spam" from the mail address.



More information about the Digitalmars-d mailing list