I would suspect a corrupted VFP. Reinstalling the runtimes, or VFP, whatever the case may be, seems to be a good idea.
>Hi,
>
>I ran into a weird problem on one of my developer's machines. Suddenly, today, all methods return .T., regardless of what values they are supposed to return! Naturally, this crashes the whole application, as no proper values can be returned by anything.
>
>To make myself clear, say that I have the following code:
>
>? getValue()
>
>FUNCTION getValue
>RETURN 'Hi'
>
>This code, surprise, surprise, returns .T., NOT 'Hi'
>
>It has nothing to do with the code. We copied all code from a machine that is working, and the problem is still there. We also tried the above program, and it keeps returning .T. anytime we try it. I am presently reinstally FoxPro 8 to see if it will help.
>
>Has anyone seen anything like this before? Any chance someone has actually resolved it?
>
>Steven
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)