At 09:42 2013-03-05, "[email protected]" <[email protected]> wrote:
As Kurt says, an object either exists or it does not so empty() is
not appropriate. VARTYPE() is your friend for objects.
msgsvc.prg has a test for whether the first parameter is empty:
IF EMPTY(lxPassed1)
and simply returns. I added an option to pass an object so I had to
change the code. I made it:
IF type("lxPassed1")#"O" and EMPTY(lxPassed1)
I should probably put an isnull() check there, too.
[snip]
Sincerely,
Gene Wirchenko
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/20130305204016.BAGU12187.priv-edtnes29.telusplanet.net@edtncm02
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.