Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How Do I
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00180248
Message ID:
00180397
Views:
22
Ok Folks,

Here it is, how strings are compared ...
<STRONG>SET EXACT OFF</STRONG>

<STRONG>=</STRONG>

   1) they are assumed equal
   2) they are comapred one character at a time
   3) when the string on the right is exhausted then result is returned

<STRONG>==</STRONG>

   1) they are assumed equal
   2) they are comapred one character at a time
   3) when the string on the right is exhausted their lengths are compared
   4) the result is returned

<STRONG>SET EXACT ON</STRONG>

<STRONG>=</STRONG>

   1) they are assumed equal
   2) the shorter string is padded on the right to be equal length to the 
      longer
   3) they are comapred one character at a time
   4) when the string on the right is exhausted then result is returned

<STRONG>==</STRONG>

   1) they are assumed equal
   2) they are comapred one character at a time
   3) when the string on the right is exhausted their lengths are compared
   4) the result is returned
Previous
Reply
Map
View

Click here to load this message in the networking platform