www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Perhaps here is a critical bug of scope statement and scoped

reply redsea <redsea 163.com> writes:
Jarrett Billingsley Wrote:

 I just tried with DMD 1.037, and I get the correct output:
your result is ok. And I download dmd 1.038, extrace the dmd, override the dmd1.033 in the tango-dmd, but I still got the wrong result. Are you ensure the version you run is the one "if (a==0) return " not commented ?
Dec 16 2008
next sibling parent davidl <davidl 126.com> writes:
在 Wed, 17 Dec 2008 13:20:38 +0800,redsea <redsea 163.com> 写道:

 Jarrett Billingsley Wrote:

 I just tried with DMD 1.037, and I get the correct output:
your result is ok. And I download dmd 1.038, extrace the dmd, override the dmd1.033 in the tango-dmd, but I still got the wrong result. Are you ensure the version you run is the one "if (a==0) return " not commented ?
He told you that, he's tried with 1.037 You can try out 1.037 firstly, and confirm it.
Dec 16 2008
prev sibling parent "Jarrett Billingsley" <jarrett.billingsley gmail.com> writes:
On Wed, Dec 17, 2008 at 12:20 AM, redsea <redsea 163.com> wrote:
 Jarrett Billingsley Wrote:

 I just tried with DMD 1.037, and I get the correct output:
your result is ok. And I download dmd 1.038, extrace the dmd, override the dmd1.033 in the tango-dmd, but I still got the wrong result. Are you ensure the version you run is the one "if (a==0) return " not commented ?
The "if(a == 0) return" lines are there. It doesn't matter whether I comment them or not, it still works correctly. Maybe it's a platform-specific issue? I'm on Windows.
Dec 17 2008