Null vs Not Defined

  • Thread starter Thread starter tshad
  • Start date Start date
T

tshad

How do you test if something is null or not defined?

I have some data that I am looking at in the debugger and some of the data
is showing as null and some as nothing.

For nulls, I would do something like

if (sLine == null)...

How do I test for not defined?

Thanks,

Tom
 
Undefined you would do that same.

The debugger sometimes shows values as undefined but it is really just a
null.
 
Peter Rilling said:
Undefined you would do that same.

The debugger sometimes shows values as undefined but it is really just a
null.

That was what I thought, but wasn't sure.

Thanks,

Tom
 
Back
Top