Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: Deterministic function return not deterministic val
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00838784
Message ID:
00839265
Views:
36
Hi George,

i see to you, the problem with another example:
CLEAR
SET DECIMALS TO 18  && you can put any valid values
SET FIXED ON        && you can put ON/OFF
lnDiff = {^2000-03-20 11:31:00} - {^2000-03-20 10:25:00}
zz={^2000-03-20 11:31:00} - {^2000-03-20 10:25:00} + 0.00

* variables are equal
? m.lnDiff=m.zz , VARTYPE(m.lnDiff,.T.)=VARTYPE(m.zz,.T.)
* this return .T.,.T.

* same deterministic function INT(),
* with same input value return different result !!!
? INT(m.lnDiff)=INT(m.zz)
* this return .F.

return
A cannot see any 15 digit reference here.

Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform