General information
Title:
Is VFP9 Help on Set Ansi wrong or what?
Check out VFP9 (and maybe in previous versions) Help for Set Ansi and you get a section that sez this:
***********************************
In the following example, when SET ANSI is set to ON, the result is False (.F.) because when padded, 'Tom' becomes 'Tom ', and the strings 'Tom ' and 'Tommy' do not match character for character:
Copy Code
'Tommy' = 'Tom'
The == operator uses this method for comparisons in Visual FoxPro SQL commands.
In the following example, when SET ANSI is set to ON, the result is True (.T.) because the comparison stops after 'Tom':
Copy Code
'Tommy' = 'Tom'
***********************************
Is this, like, really bad documentation or what? Or am I just plain dumb?
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