Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
REPLACE problem - weird (I think)
Message
De
02/07/1998 18:57:26
 
 
À
02/07/1998 06:36:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00113674
Message ID:
00113933
Vues:
19
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform