Class Default Value
Jarrett Billingsley
kb3ctd2 at yahoo.com
Mon Apr 24 21:00:54 PDT 2006
"Alberto Simon" <Alberto_member at pathlink.com> wrote in message
news:e2k4f5$1efa$1 at digitaldaemon.com...
>I have a question... When I declare a class object no matter what the
>definition
> is and set it to null I get an runtime exception whenever I try to compare
> that
> object to null... Is that correct behavior?? and if that is correct, how
> do I
> check for an uninitialized class in a fast and efficient manner?
Use "is", not "==".
More information about the Digitalmars-d
mailing list