Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
An Open Letter to the VFP Community
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00658724
Message ID:
00658745
Views:
25
Hi George,

I think it is correct that null=null returns .F. and 1/0 = 1/0 returns false. The reasons these two equations should return false is that null and 1/0 are both undefined values. I have seen the equation 1/0 expressed as 1/0=infinity, infinity sometime expressed as an 8 laying on it side, which is a more correct expression, but the equation cannot be solved with a zero denominator, or undefined denominator. I once put this equation into a old machanical adding maching, and the machine begain thrashing. It would go through all the number in one column and proceed to the next column. When it reached the last column, it went back to column one and repeated the process. In order to stop the machine from thrashing, I had to unplug it, or it would have continued searching for an answer forever. Also, since the null value represent a yet to be defined value, it does not make sence that comparing two undefined value should result in .T. In other words an undefined value on one side equals an undefined value on the other side is false and cannot be computed until both values have been defined.
Leland F. Jackson, CPA
Software - Master (TM)
smvfp@mail.smvfp.com
Software Master TM
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform