Wish: Variable Not Used Warning

Era Scarecrow rtcvb32 at yahoo.com
Fri Jul 11 22:07:07 PDT 2008


> $ python -c "print -10/-5"
> 2
> $

> Uhh, I think your method of entry was wrong.  It's +2.
> Y'know I don't think this problem was meant to
> require a calculator...

 No, i don't much work with negative numbers; It wasn't until 3 minutes after i posted, i tried to do another negative division, to see it's reaction, only to realize when i did 100 / -3, and it was 97. M$ Calc said 'oh, you meant minus, not divide' and my result was utterly wrong. My bad on that part.


      



More information about the Digitalmars-d mailing list