Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REPLACE problem - weird (I think)
Message
From
02/07/1998 18:57:26
 
 
To
02/07/1998 06:36:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00113674
Message ID:
00113933
Views:
20
>Hello:
>
>This is probably a very simple issue, but... Are you issuing EXACT ON, because if not SEEK will ALWAYS return .T. and that´s why the ELSE part of your code is not executing.
>
>Hope this helps!
>
>Mao.

Hi, I almost never SET EXACT ON. And SEEK doesn't behave in the way you describe. With SET EXACT OFF, the default, matching is from the left so
"x"= "xyz" && .F.
"xyz"= "x" && .T.
"anything at all" = ""  && .T.
and the same logic applies to SEEK
Regards
Previous
Reply
Map
View

Click here to load this message in the networking platform