Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using == vs =
Message
From
08/11/2015 14:18:34
 
 
To
08/11/2015 13:50:39
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01627149
Message ID:
01627226
Views:
61
>>>Is there any gotcha using == as a standard?
>
>I have seen issues comparing fields of unequal length, where == always fails.

Why are they issues?
Shouldn't it be failing?

"John" does not equal "Johnny"

The = operator has caused more bugs for me than any single feature in VFP (had one last week.)

Why anyone would have a language state that "A" = "" is beyond comprehension.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform