Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Count for AND deleted records
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01125349
Message ID:
01125974
Vues:
20
>>>>Probably because the logic works like this:
>>>>?.t. or .t. and .f. && returns .t., no matter what is at the end with AND
>>>
>>>?(.t. or .t.) and .f. && returns .f.
>>
>>Not quite clear what do you mean. It is reply to me and you do not agree with what I said? Or it is your recommendation to the original author of how to modify his statements?
>
>A little bit of both, actually. Your statement of "no matter what is at the end with AND" is a not entirely correct. Usage of parenthesis will change what is returned. Almost any time OR is involved, you have to be careful that your logic is correct (or at least I do) ;)


I may agree with you only on parenthesis as a recommendation to original author to use them: parenthesis were not considered in my reply that was strictly related to statements without them:
?.t. or .t. and .f.
*or
?.t. or .t. and .t.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform