VFP date variables can have a little "something extra" if the value added
to a date variable is not an integer.  Date fields don't have this.

m.d1 = DATE()
m.d2 = m.d1 + .01
? m.d1=m.d2   && shows .f.

Fred

On Mon, May 9, 2016 at 1:45 PM, Tracy Pearson <[email protected]> wrote:

> One of the testers here recently discovered a bit of code that when broken
> down did this:
>
> ?(Date() + INT(1 / 0) ) > Date(9999,12,31)
>
> It returns true. However, put that actual value in printed form and it
> displays as "  /  /  "
>
> Just something for the oddities in your VFP collection.
>
> Tracy
>
>
[excessive quoting removed by server]

_______________________________________________
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/cajcbksre-ekhgnqyrvnism6w-nkx9vqqfqmh-ltfwfzmlx+...@mail.gmail.com
** 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