Walter Meester
HoogkarspelNetherlands
Environment versions
Network:
Windows 2008 Server
>>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,
>
>Not that I am aware of, I know people who do that all the time in order to differentiate assignments from comparisons.
Which I find a good argument in itself. I just wonder why it has taken me more thaw 20 years to draw that conclusion.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only