Information générale
Catégorie:
Codage, syntaxe et commandes
>>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement