Variable below zero but if statement doesn't grab?

TheDGuy via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Dec 27 15:24:55 PST 2015


On Sunday, 27 December 2015 at 22:51:27 UTC, Ali Çehreli wrote:
> On 12/27/2015 07:53 AM, TheDGuy wrote:
>> Any idea what i am doing wrong?
>> https://www.youtube.com/watch?v=j_VCa-5VeP8
>
> YouTube says that the video has been removed by the user. 
> That's exactly the reason why I don't like even dpaste. There 
> is no guarantee that such threads will be useful forever. :) 
> For me, sample code should be right here, and it should be 
> short enough to practically be here.
>
> Ali

I deleted the video because the problem was solved, it was 
neither a problem with the single '&' nor with my code it just 
showed a strange behaviour while debugging but the function 
returned the right value. Sample code is in my second post.


More information about the Digitalmars-d-learn mailing list