Associative Array Bug?
BCS
ao at pathlink.com
Mon Jan 29 19:35:34 PST 2007
Reply to Ary,
> That is the correct behaviour. Check this:
>
> http://digitalmars.com/d/lex.html#StringLiteral
>
> "Adjacent strings are concatenated with the ~ operator, or by simple
> juxtaposition."
>
> Although now it seems to me that this "feature" is kind of buggy...
> isn't it?
>
That comes from C which does this (most likely to make up for the lack of
~) and make things like this easy
"Error in file: "__FILE__"\n"
or for a more D like case
writef(\r\n);
More information about the Digitalmars-d-learn
mailing list