Other notes

torhu no at spam.invalid
Sun Nov 25 13:58:32 PST 2007


bearophile wrote:
> Here are few more notes on the D language, now I know it enough.
> 
> 1) At the moment this isn't acceptable in D (but the compiler correctly gives an error instead of doing the wrong thing as some C compilers):
> 
> if (0 < a < 5) writefln("***")

The behavior of the comparison operators was changed in dmd 1.007, so 
that they later can be changed to the behave the same way as in python. 
  At least I think that was the idea.




More information about the Digitalmars-d mailing list