Information générale
Catégorie:
Codage, syntaxe et commandes
I was understanding you all along until this line:
>
>I wanted to say that "a or b and c" is in fact "a or (b and c)". That doesn't mean the operation between parentheses is evaluated first.
>
Doesn't precedence of operators as well as the parentheses that you supplied mean exactly that the operation in the parentheses IS evaluated first. So in your example with the parentheses isn't (b or c) evaluated then the result is ORed with a? Without resorting to semantics something with higher precedence PRECEDES, that is happens first in time.
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