>No nick Type("oApp") will return O if null But VARTYPE(oApp) will return X X meaning that the variable is null.
Sorry, my mistake. I actually meant it for TYPE() function. I tend to practically never use VARTYPE() since I try to keep compatibility with VFP 5 in most of my classes.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison