Unicode symbols in the identifiers

evilrat evilrat666 at gmail.com
Fri Jan 11 01:50:56 PST 2013


On Friday, 11 January 2013 at 07:47:03 UTC, Andrey wrote:
>
> Apart from that, try this code:
>
> int в_квадрате(int num) { return num*num; }
>
> writeln(2.в_квадрате);
>
> You get: Error: found 'в_квадрате' when expecting ','

don't have any errors with this code(dmd 2.061, win8)

but x² as identifier is really gives error. idk maybe it is a 
bug, or maybe not


More information about the Digitalmars-d-learn mailing list