Memory corruption rant.
Jesse Phillips
jessekphillips+D at gmail.com
Wed May 18 10:35:18 PDT 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.
More information about the Digitalmars-d-learn
mailing list