>>I remembered wrong. The bug was in VFP7 and fixed in VFP8.
>>
>>Anyway, in VFP9 it correctly returns 1.
>>
>
>I just try it in my 9.0 and too return 0. I ask a few colleages, and too got 0. Could Vista effecting this?
You're not showing us your actual code. The test you showed is pretty simple and I doubt it returns 0 for you, though anything is possible.
Open VFP and just run your test. What would it return?
If it's not broken, fix it until it is.
My Blog