Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
== and = driving me crazy
Message
 
To
14/06/1999 15:22:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00229646
Message ID:
00229785
Views:
15
Denise,

Here's how they work.

With SET EXACT OFF
=

1. Assumed equal
2. Compared character by character
3. When the string on the right side is exhausted the result is returned

==

1. Assumed equal
2. Compared character by character
3. When the string on the right side is exhausted 
4. They are compared for length and the result is returned

SET EXACT ON

=

1. Strings are padded on the right with spaces to be of equal length
2. Assumed equal
3. Compared character by character
4. When the string on the right side is exhausted the result is returned

== exactly the same as with set exact off

SET ANSI ON/OFF acts like SET EXACT but for SELECT WHERE clauses
Previous
Reply
Map
View

Click here to load this message in the networking platform