digitalmars.D.learn - Re: Memory corruption rant.
- Kagamin <spam here.lot> May 18 2011
- Jesse Phillips <jessekphillips+D gmail.com> May 18 2011
Kagamin Wrote:Jesse Phillips Wrote:writeln("I"m still ok") writeln(myObject is null); // Crash with access violation
try writeln("I'm still ok"); writeln(0); writeln(false);
or writeln("I'm still ok"); writeln("2"); if(myObject is null) writeln("3"); else writeln("4"); writeln(0); writeln(false);
May 18 2011
Kagamin Wrote:Kagamin Wrote:Jesse Phillips Wrote:writeln("I"m still ok") writeln(myObject is null); // Crash with access violation
try writeln("I'm still ok"); writeln(0); writeln(false);
or writeln("I'm still ok"); writeln("2"); if(myObject is null) writeln("3"); else writeln("4"); writeln(0); writeln(false);
Prints everything up to 2.
May 18 2011