As Kurt says, an object either exists or it does not so empty() is not 
appropriate. VARTYPE() is your friend for objects.

--
rk

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Kurt
Sent: Tuesday, March 05, 2013 12:23 PM
To: [email protected]
Subject: RE: A Form & a Strange Date Problem

Actually - I can well imagine it would NOT work on Objects - cause Objects are 
Truly an Animal of a Different Color! Basically, a much more complex data type. 
But, I am also curious - doesn't the VFP Help mention Objects - or maybe it 
does NOT mention Objects - and was never designed work with Objects!

-K-

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Gene 
Wirchenko
Sent: Tuesday, March 05, 2013 12:19 PM
To: [email protected]
Subject: RE: A Form & a Strange Date Problem

At 08:23 2013-03-05, "Kurt" <[email protected]> wrote:
>Graham - I've made Friends w/EMPTY() - since I like that it can work 
>for
all
>cases - whether Char, Num or Date.

      Not all cases.

      empty() is one of my friends, too, but it had a bit of a snit fit 
recently.  empty() does not work on objects.  I found this out when working on 
modifications to Steven Black's msgsvc.prg.


_______________________________________________
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/DF1EEF11E586A64FB54A97F22A8BD0442188CB8F44@ACKBWDDQH1.artfact.local
** 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.

Reply via email to