May 18, 2011 Re: Memory corruption rant. | ||||
---|---|---|---|---|
| ||||
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 Re: Memory corruption rant. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | 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.
|
Copyright © 1999-2021 by the D Language Foundation