>Just encountered a bug in our software releated to the use of = when set exact is set to off.
>
>I Know I should be using == in those cases where comparing strings of different lenght, but just a small test made me wonder.
>
>Is there any reason I should not use == for any comparison in VFP? It seems to work for any datatype.
>
>Is there any gotcha using == as a standard?
>
>
>Walter,
Hi,
These days there is also a topic runnng in Tek-Tips on exactly the same subject. For your interest:
http://www.tek-tips.com/viewthread.cfm?qid=1757984Groet,
Koen